Commit Graph

14 Commits

Author SHA1 Message Date
lukem 33e7bb62d6 - Convert to using distrib/common/buildfloppies.sh, which can build both
single and multi-volume floppies in better fashion that the crufty
  shell commands in the various Makefiles.
- Move fdset* -> bootfloppy*, as that's more consistent
2002-04-16 05:23:33 +00:00
lukem e74b6d4e20 Yet Another Cleanup:
- factor more stuff into common/Makefile.*
- use NDWO makefile layout
- don't always rebuild bootfloppy-* and fdset-* stuff. (mmm, dependencies)
- add .WAIT sync in top level Makefile
2002-04-11 12:17:14 +00:00
thorpej bdf6ab32ff Use ${PRINTOBJDIR}. 2002-03-05 20:29:33 +00:00
lukem db1902fd02 since we have ${TOP}, use it... 2002-02-08 04:37:25 +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
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
he 5ebb61c202 Fix the previous in another way:
o Wave goodbye to INSTALL_SMALL-based boot image (it was originally
   built for 5.25" media, but isn't anymore).
 o Make a separate ramdisk image for the INSTALL_TINY image,
   using the old script-based installer (not fixed/checked at the moment).
   However, at least tweak the profile scripts to start it instead of sysinst.
   Also remove ping6 and rtsol from ramdisk compared to original; the
   INSTALL_TINY image doesn't have INET6.
 o Add dump/restore back into both ramdisk images.
 o Add scsictl and chio to the normal ramdisk image (INSTALL-based fdset)
 o With dump/restore reinstated, remove the rescue-* and ramdisk-rescue
   directories.

So, we're now back to having the recovery tools on the same image as
the boot media images.
2000-06-12 18:51:14 +00:00
mycroft 873c2fbd93 Build bootfloppy-small, as a 1.44MB floppy image. 2000-05-06 05:32:28 +00:00
mycroft b0afa4ef98 Need BLOCK8K now. 2000-05-05 21:35:51 +00:00
mycroft 00975f989f Merge latest build system changes, and use the kernels built in ramdisk-kernel. 2000-05-05 20:13:29 +00:00
sjg 1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +00:00
drochner a9ddfb696d allow to set location of INSTALL kernel from command line so that
bootfloppies can be built with r/o /usr/src or with other kernels
1999-03-23 18:10:57 +00:00
perry 66d732b062 remove ${REV} from floppy names per new practice. 1997-11-29 21:18:58 +00:00
perry 16de89f71a small (1.2M) bootfloppy Makefile 1997-11-05 19:46:37 +00:00