Commit Graph

45 Commits

Author SHA1 Message Date
lukem 1cf21a4eeb as COPYDIR copies files with 444 permissions, we need to explicitly
add MTREE entries to change the permissions of executable programs
such as usr/mdec/installboot and usr/mdec/binstall
2002-06-12 22:59:31 +00:00
lukem 2bc49b8d2a don't bother copying or generating etc/spwd.db, as the miniroot was
switched to libhack a little while ago
2002-05-29 04:11:01 +00:00
grant 89d9e55136 libz is needed for usr.bin/file/compress.c v1.11 2002-05-26 12:16:56 +00:00
lukem 094e12e661 consistently use "${INSTALLBOOT} -v ..." 2002-05-14 06:21:20 +00:00
pk 5a355629e8 Add crunched /usr/sbin/installboot. 2002-05-07 12:46:19 +00:00
pk e1040e5831 Increase IMAGESIZE. 2002-05-07 11:35:44 +00:00
pk 41cb0397f6 Use MI installboot(8) program in ${IMAGEPOSTBUILD}. 2002-05-07 11:34:40 +00:00
lukem ed8e534c7e yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
2002-05-02 18:02:14 +00:00
lukem 53f41a1d9d use ${WORKDIR} instead of ${TARGETDIR}, since the latter is only valid
within parselist.
2002-04-26 03:49:21 +00:00
lukem 983821fd73 - replace image_md_post: target with IMAGE_MD_POST variable, and use
that after building ${IMAGE}
- use ${IMAGEBUILT} to ensure that IMAGE_MD_POST is only run if IMAGE changes
2002-04-12 03:21:09 +00:00
lukem 380bba0606 use TARGETDIR instead of TARGDIR 2002-04-10 14:44:02 +00:00
lukem e0f433e649 ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
2002-04-01 12:16:11 +00:00
lukem 91c57b31d0 rcsid 2002-03-10 20:23:28 +00:00
lukem a8025d95ae Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
  crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
  as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
  common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
  host tool versions of installboot and any appropriate host disk labelling
  tools.
	XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
  It should work, but it is extremely likely that the file system
  parameters may need tweaking to get things to fit.
  See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
  If assistance is required, please ask!
2002-03-06 12:04:48 +00:00
chs 5192c64824 miniroot is out of space, use the ramdisk termcap file in the miniroot too
so that it fits again.
2002-01-01 18:51:40 +00:00
jmc 5d433ad17d Change to pass file image to binstall so it can be built in securelevel > 0 2001-02-19 06:25:39 +00:00
pk 3a328aff50 Do not reset the baud rate to 9600. 2001-01-16 10:40:53 +00:00
tv 1b4a4e04a5 Sysinst is no longer "experimental"; it is default on all platforms that
ship it.  Make the (I)nstall option invoke sysinst.
The old install and upgrade scripts are still available, for now, under
OI and OU.  Add note that these may be removed in a future release.
2000-11-29 03:06:18 +00:00
pk 2168a74f89 Add file(1); we use it to determine the shared library type. 2000-11-17 18:01:41 +00:00
pk b05c4f8ba0 * Add code to start sysinst with a writable /tmp directory (a necessity if the
root is on a CD).
* When returning from an escape to shell, stay in the main loop.
2000-10-31 21:09:22 +00:00
pk f495c4188d Put a GENERIC kernel in the miniroot, to retain consistency with the
tape, floppy and cdrom images.
2000-10-31 21:02:18 +00:00
pk 9cbad565fe Note existence of sysinst. 2000-10-20 11:43:57 +00:00
pk 3dc8d00362 * Add bin/rcmd
* Make sysinst `obsolete' sets
* Simplify running dev/MAKEDEV
2000-10-20 11:42:43 +00:00
pk 79e78efd1c /kern can go since dmesg now uses sysctl() to get the kernel's msgbuf. 2000-07-08 11:32:05 +00:00
cgd c85d2eb42b sweep of my licenses for consistency. (no functional changes) These
files have copyright held by people in addition to myself.  (I did the
original work, they copied it, enhanced it, and added their copyright
to the derivative work.)  Their approval has been given re: the license
change.
2000-06-14 22:52:37 +00:00
cgd d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
sjg 591dd83065 use KERNOBJDIR if set 2000-05-02 13:59:20 +00:00
pk cd055bb539 sysctl is now in /sbin 2000-02-07 11:07:19 +00:00
simonb 71efc75854 Don't start update. 1999-11-23 22:43:20 +00:00
pk 58732ef4b8 Remove awk(1); it is no longer used by the installation scripts.
Add link to sysinst.
1999-10-18 20:47:19 +00:00
mrg f3ea75e08a - back out previous for amiga/miniroot/list because:
- sparc now creates /kern in the 'list' file like the amiga, atari,
  mvme68k and pmax ports, and:
- remove /kern from miniroot/mtree.conf
1999-07-04 11:46:23 +00:00
mrg e7e33e2136 miniroot changes:
install.sub:
	- fix interface grovelling, ifmedia support, allow ifmedia and link
	  to have a "none" (-> "") answer (which lets you give nothing when
	  a default answer is given)
	- allow installing more than one set at a time, including "all" as
	  a synonym for all remaining sets
	- mount -o async when extracting sets
    makeconf.awk:
	- put default "libs" section at the end rather than the start, so
	  you can put other "libs" in before this list
	- minor cleanup

    mtree.conf:
	- create /kern

    sparc install.md:
	- MDSETS are now "kern xbase xcomp xcontrib xfont xserver"
	- use /kern & kernfs (replaces dmesg)
	- replace grep & cut pipe lines with sed
	- replace grep hackery with sed hackery
	- grep and cut are no longer required!  yay!
	- deal with no /usr/bin/vi -- call disklabel -i
	- in md_copy_kern() link the netbsd.GENERIC we got from the kern set,
	  rather than the miniroot kernel
    sparc miniroot list:
	- no more dmesg, cut or grep

sparc ramdisk changes:
    Makefile:
	- `ramdiskbin.conf' is now generated by makeconf.awk
	- don't use libhack's opendir, it breaks
    dot.profile:
	- don't assume terminal is `sun'
	- set EDITOR=ed
	-
    list:
	- instbin -> ramdiskbin to make `makeconf.awk' work
	- CRUNCHSPECIAL those special dirs
	- add our LIBS as necessary

libhack changes:
	- if NOLIBHACKOPENDIR is set, don't build opendir.o
1999-06-27 12:55:58 +00:00
cgd 7aa73e55cb after checking and setting DONEPROFILE, export it so that children of the
shell (e.g.  programs and shells invoked via sysinst) don't try to run
sysinst again.  Fixes PR#7805.
1999-06-26 06:12:49 +00:00
leo 6d588fca56 - Move the pwd.db & spwd.db files into the list-files of the ports who need
them.
- Use x_dd & x_ifconfig.
1999-03-25 15:51:01 +00:00
mrg ec6c46ef02 remove strings. 1999-01-20 07:43:17 +00:00
perry 3891a64da7 Add $HOME to profiles, closes pr 4323 (from Tatoku Ogaito) 1998-01-09 21:51:25 +00:00
tv 581952e735 Use the boot/bootxx files from ${DESTDIR}/usr/mdec, not /usr/mdec.
(Avoid using "new" bootcode as part of a release, for uniformity.)
1998-01-01 17:48:50 +00:00
pk 929de9acc4 Install the `GENERIC_SCSI3' kernel as promised by the release notes. 1997-12-05 22:09:09 +00:00
pk cb69025d2b Remove unneeded link to `/usr/sbin/installboot' 1997-10-31 21:53:25 +00:00
pk 4e06e7b166 Pull up from 1.2 release branch: We need installboot, sysctl, getopt. 1996-06-26 19:26:39 +00:00
leo cff5efa2ad Add more&less. They are no longer in the MI-list. 1996-05-30 07:00:45 +00:00
pk 728c3fbcb2 Change extra directory for vi to `vi/build' 1996-05-28 21:51:31 +00:00
leo 05574183dd Sync with changes in MI-miniroot 1996-05-27 12:41:54 +00:00
pk 61a0733f9d Use MI install script. 1996-01-06 22:42:13 +00:00
pk aa1a5a63a4 sparc MD miniroot config files. 1995-12-18 22:54:43 +00:00