Commit Graph

26 Commits

Author SHA1 Message Date
lukem e5ef62ef2b - add specific special entry for sys/arch/${MACHINE}/stand/installboot
for ports that don't yet use the MI usr.sbin/installboot
- remove now-unnecessary srcdir for sys/arch/${MACHINE}/stand
2002-04-09 00:31:38 +00:00
lukem 7533a60e6a - migrate a bunch of the common list stuff to common/list.ramdisk
- use ${DISTRIBDIR} as appropriate
- use ${DISTRIBDIR}/common/list.sysinst if USE_SYSINST is defined,
  removing any replicated list info
- define USE_SYSINST in the sysinst-using ramdisks
- replace MAKEDEV_DEVS with MAKEDEVTARGETS
2002-02-08 05:02:16 +00:00
lukem 339d59ee8a Changes to the tiny images so that an mfs /dev isn't required (there might
not be enough RAM to support that), at the expense of more inodes and a
slightly larger md file system (which, when compressed down, still fits in
a kernel and that kernel still fits on a 1.2MB floppy):
- Define MAKEDEV_DEVS to 'std md0 fd0 fd1 wd0 wd1 wd2 wd3 cd0 cd1 pty0 ttyv0'.
- Call makefs with -f 10, to add a few spare inodes.
- Crank imagesize from 1344k to 1440k to handle extra space needed by the
  inodes containing the devices.
2002-02-06 16:15:56 +00:00
lukem de1da0afc1 remove XXX comments left in by mistake 2002-02-03 16:58:46 +00:00
lukem c8099b4072 Major overhaul, to enable unprivileged (cross) building, removing the
requirement to build as root on a system with vnconfig.


Use ${KERNSRCDIR} and ${_SRC_TOP_} where appropriate

Remove now-obsolete:
	list2sh.awk runlist.sh bootfloppy-common/list

Bootfloppy-*/Makefile: don't need to set DISKTYPE or BLOCK8K any more

Rename  bootfloppy-common/Makefile.inc  to  common/Makefile.bootfloppy
and	fdset-common/Makefile.inc       to  common/Makefile.fdset
This uses makefs instead of vnconfig and disklabel, thus removing the
need for root privileges to build these floppies..

Add common/Makefile.ramdisk, to simplify ramdisk-*/Makefile.
Uses shared ${_SRC_TOP_}/distrib/common/Makefile.crunch and
${_SRC_TOP_}/distrib/common/Makefile.image to even further simply things.

Migrate ramdisk-*/dot.profile to a shared common/dot.profile, which
detects whether it's an install or rescue profile based on the existance
of /sysinst.  Remove /dev generation code as init(8) now does that for us.

Migrate common parts of */list to a shared common/list.ramdisk.
Convert ramdisk-*/list to new format used by distrib/common/parselist.awk
Don't bother running pwd_mkdb now that libhack's getpwent parses
/etc/master.passwd instead of /etc/passwd.

Migrate ramdisk-*/mtree.conf to a shared common/mtree.conf, which is now a
new full-path-style specfile.

Remove ramdisk-*/ramdiskbin.conf as it's now automatically generated
from ramdisk-*/list by parselist.awk.

Migrate ramdisk-*/termcap.mini to a shared common/termcap.mini.

Remove unused ramdisk-{small,tiny}/disktab.preinstall.

Use .for loops in kernel-*/Makefile to simply defining mostly-duplicated
targets.

ramdisk-*/Makefile: convert to using common/Makefile.ramdisk

Remove unused ramdisk-*/dot.hdprofile.
2002-02-03 16:22:19 +00:00
jmc 0a04168b5e Change to use utils/x_ed 2001-12-02 01:44:08 +00:00
jmc de9d0f2c64 Tweak newfs params and fix VND device for unconfig 2001-12-02 01:43:12 +00:00
jmc 132a19d90a Add bsd.prog.mk so libhack components build. (gets proper CPPFLAGS pulled in
for builds).
2001-11-19 05:31:00 +00:00
jmc c79e9118a0 Nuke chio and chroot to make some room. Also twiddle with inode size on newfs.
Makes everything build once again.
2001-11-08 07:40:01 +00:00
christos 6e43164c91 1. delete all instances of /dev/{r,}vnd0d. Use vnconfig vnd0 and disklabel
vnd0 and let opendisk(3) DTRT.
2. resize some of the images since we've gotten an average of 5K more
   with the new toolchain.
3. comment out the rescue disks, since they don't fit anymore.

Now the whole directory compiles and works with the in-tree toolchain,
but does not work still with USETOOLS.
2001-11-08 02:10:25 +00:00
jmc a37907dc27 Add MTREE?= to add Makefiles and use when running mtree 2001-10-13 06:15:15 +00:00
enami 652855a0c7 Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts.  Pointed out by chs@netbsd.org.
2001-10-10 05:13:51 +00:00
jmc 1f7d4add83 Change DBG= to DBG?= so it's controllable from the top level makefile easier. 2001-10-05 01:19:42 +00:00
jmc 7ae0c501ca Add DBG=-Os to all so libhack.o gets built without using -O2 on it.
Also adjust the clean rule to first run the clean rule from ramdiskbin.mk
if it exists (cleans up the object subdirs then from the new crunchgen setup)
2001-10-04 04:14:06 +00:00
veego bc41e8429e Remove tmplabel during a make clean. 2001-06-24 12:15:58 +00:00
christos 6e87bd852f fix the rest of the ! lossage. 2001-05-26 00:10:06 +00:00
fvdl 6bb58cf2c0 Use x_mount and x_umount. Remove mount_ext2fs, since there's no ext2fs
support in INSTALL_TINY.
2001-04-29 15:20:33 +00:00
jmc af957ccb50 Make sure crunchgen remakes the makefile everytime and it doesn't use it's
cache since other Makefiles could change source files too easily.
2001-02-25 03:54:24 +00:00
jmc 26563cce4d Trim down /dev entries to only things that are configured in INSTALL_TINY
kernels (which doesn't include sd, ld, etc). Tested on a 4M constrained
machine.
2001-01-24 18:16:43 +00:00
jmc 6e076acf2e Add var/spool/lock so tip works 2000-12-24 23:50:48 +00:00
jmc 55d6fd3a35 Force crunchgen to remake the makefile each time. This way dependency checking can occur 2000-12-17 09:57:48 +00:00
jmc 00bf71bd90 Replace less (1) with more(1) so the smaller images build. 2000-12-14 22:28:31 +00:00
simonb 9bb5785535 Adjust a couple of things to use less temporary space:
+ build the passwd file before copying in ramdiskbin
 + don't copy MAKEDEV, run it, then delete it - run it in-place from
   ${.CURDIR}/...../etc.i386/MAKEDEV
Also, use LINK instead of SYMLINK for files under /usr - it's not a
separate filesystem.

Fixes PR misc/11473 and port-i386/11504 (until something else grows
again).
2000-11-16 13:21:05 +00:00
garbled 83f61a5891 Change all ocurrences of "crunchgen" to ${CRUNCHGEN} 2000-11-01 07:57:55 +00:00
fvdl 8717b51da3 Change to make sure that no bogusly made targets are left after
interrupt or failure was lost in when rearranging. Bring it back.
(pointed out by jhawk).
2000-10-09 12:36:26 +00:00
fvdl 37f785d55d Rearrange bootfloppies. The idea is that "rescue" tools go on the
floppies as long as they fit, but they are the first to be sacrificed
if space is short, and get moved to a seperate rescue floppy.

This means that the default fdset and the 2.88M image have them,
but others (the "small" and "tiny" floppies) do not.

Sysinst is also back on the "tiny" image, and tested to be working
within 4M.
2000-09-27 16:04:13 +00:00