Subject: CVS commit: basesrc/distrib/i386/floppies
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 02/03/2002 18:22:29
Module Name:	basesrc
Committed By:	lukem
Date:		Sun Feb  3 16:22:29 UTC 2002

Modified Files:
	basesrc/distrib/i386/floppies: Makefile.inc
	basesrc/distrib/i386/floppies/bootfloppy-big: Makefile
	basesrc/distrib/i386/floppies/bootfloppy-ps2: Makefile
	basesrc/distrib/i386/floppies/bootfloppy-small: Makefile
	basesrc/distrib/i386/floppies/bootfloppy-tiny: Makefile
	basesrc/distrib/i386/floppies/fdset: Makefile
	basesrc/distrib/i386/floppies/fdset-com: Makefile
	basesrc/distrib/i386/floppies/fdset-laptop: Makefile
	basesrc/distrib/i386/floppies/kernel-ramdisk: Makefile
	basesrc/distrib/i386/floppies/kernel-rescue: Makefile
	basesrc/distrib/i386/floppies/ramdisk-big: Makefile list
	basesrc/distrib/i386/floppies/ramdisk-rescuesmall: Makefile list
	basesrc/distrib/i386/floppies/ramdisk-rescuetiny: Makefile list
	basesrc/distrib/i386/floppies/ramdisk-small: Makefile list
	basesrc/distrib/i386/floppies/ramdisk-tiny: Makefile list
	basesrc/distrib/i386/floppies/rescue-small: Makefile
	basesrc/distrib/i386/floppies/rescue-tiny: Makefile
Added Files:
	basesrc/distrib/i386/floppies/common: Makefile.bootfloppy
	    Makefile.fdset Makefile.ramdisk dot.profile list.ramdisk mtree.conf
	    termcap.mini
Removed Files:
	basesrc/distrib/i386/floppies: list2sh.awk runlist.sh
	basesrc/distrib/i386/floppies/bootfloppy-common: Makefile.inc list
	basesrc/distrib/i386/floppies/fdset-common: Makefile.inc
	basesrc/distrib/i386/floppies/ramdisk-big: dot.hdprofile dot.profile
	    mtree.conf ramdiskbin.conf termcap.mini
	basesrc/distrib/i386/floppies/ramdisk-rescuesmall: dot.profile
	    mtree.conf ramdiskbin.conf termcap.mini
	basesrc/distrib/i386/floppies/ramdisk-rescuetiny: dot.profile
	    mtree.conf ramdiskbin.conf termcap.mini
	basesrc/distrib/i386/floppies/ramdisk-small: disktab.preinstall
	    dot.hdprofile dot.profile mtree.conf ramdiskbin.conf termcap.mini
	basesrc/distrib/i386/floppies/ramdisk-tiny: disktab.preinstall
	    dot.profile mtree.conf ramdiskbin.conf termcap.mini

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 basesrc/distrib/i386/floppies/Makefile.inc
cvs rdiff -r1.5 -r0 basesrc/distrib/i386/floppies/list2sh.awk
cvs rdiff -r1.2 -r0 basesrc/distrib/i386/floppies/runlist.sh
cvs rdiff -r1.12 -r1.13 basesrc/distrib/i386/floppies/bootfloppy-big/Makefile
cvs rdiff -r1.34 -r0 \
    basesrc/distrib/i386/floppies/bootfloppy-common/Makefile.inc
cvs rdiff -r1.4 -r0 basesrc/distrib/i386/floppies/bootfloppy-common/list
cvs rdiff -r1.2 -r1.3 basesrc/distrib/i386/floppies/bootfloppy-ps2/Makefile
cvs rdiff -r1.9 -r1.10 \
    basesrc/distrib/i386/floppies/bootfloppy-small/Makefile
cvs rdiff -r1.6 -r1.7 basesrc/distrib/i386/floppies/bootfloppy-tiny/Makefile
cvs rdiff -r0 -r1.1 basesrc/distrib/i386/floppies/common/Makefile.bootfloppy \
    basesrc/distrib/i386/floppies/common/Makefile.fdset \
    basesrc/distrib/i386/floppies/common/Makefile.ramdisk \
    basesrc/distrib/i386/floppies/common/dot.profile \
    basesrc/distrib/i386/floppies/common/list.ramdisk \
    basesrc/distrib/i386/floppies/common/mtree.conf \
    basesrc/distrib/i386/floppies/common/termcap.mini
cvs rdiff -r1.5 -r1.6 basesrc/distrib/i386/floppies/fdset/Makefile
cvs rdiff -r1.1 -r1.2 basesrc/distrib/i386/floppies/fdset-com/Makefile
cvs rdiff -r1.29 -r0 basesrc/distrib/i386/floppies/fdset-common/Makefile.inc
cvs rdiff -r1.2 -r1.3 basesrc/distrib/i386/floppies/fdset-laptop/Makefile
cvs rdiff -r1.7 -r1.8 basesrc/distrib/i386/floppies/kernel-ramdisk/Makefile
cvs rdiff -r1.4 -r1.5 basesrc/distrib/i386/floppies/kernel-rescue/Makefile
cvs rdiff -r1.13 -r1.14 basesrc/distrib/i386/floppies/ramdisk-big/Makefile
cvs rdiff -r1.1 -r0 basesrc/distrib/i386/floppies/ramdisk-big/dot.hdprofile \
    basesrc/distrib/i386/floppies/ramdisk-big/termcap.mini
cvs rdiff -r1.3 -r0 basesrc/distrib/i386/floppies/ramdisk-big/dot.profile
cvs rdiff -r1.7 -r1.8 basesrc/distrib/i386/floppies/ramdisk-big/list
cvs rdiff -r1.2 -r0 basesrc/distrib/i386/floppies/ramdisk-big/mtree.conf
cvs rdiff -r1.6 -r0 basesrc/distrib/i386/floppies/ramdisk-big/ramdiskbin.conf
cvs rdiff -r1.16 -r1.17 \
    basesrc/distrib/i386/floppies/ramdisk-rescuesmall/Makefile
cvs rdiff -r1.3 -r0 \
    basesrc/distrib/i386/floppies/ramdisk-rescuesmall/dot.profile \
    basesrc/distrib/i386/floppies/ramdisk-rescuesmall/ramdiskbin.conf
cvs rdiff -r1.3 -r1.4 basesrc/distrib/i386/floppies/ramdisk-rescuesmall/list
cvs rdiff -r1.2 -r0 \
    basesrc/distrib/i386/floppies/ramdisk-rescuesmall/mtree.conf
cvs rdiff -r1.1 -r0 \
    basesrc/distrib/i386/floppies/ramdisk-rescuesmall/termcap.mini
cvs rdiff -r1.15 -r1.16 \
    basesrc/distrib/i386/floppies/ramdisk-rescuetiny/Makefile
cvs rdiff -r1.1 -r0 \
    basesrc/distrib/i386/floppies/ramdisk-rescuetiny/dot.profile \
    basesrc/distrib/i386/floppies/ramdisk-rescuetiny/termcap.mini
cvs rdiff -r1.4 -r1.5 basesrc/distrib/i386/floppies/ramdisk-rescuetiny/list
cvs rdiff -r1.2 -r0 \
    basesrc/distrib/i386/floppies/ramdisk-rescuetiny/mtree.conf
cvs rdiff -r1.5 -r0 \
    basesrc/distrib/i386/floppies/ramdisk-rescuetiny/ramdiskbin.conf
cvs rdiff -r1.15 -r1.16 basesrc/distrib/i386/floppies/ramdisk-small/Makefile
cvs rdiff -r1.1 -r0 \
    basesrc/distrib/i386/floppies/ramdisk-small/disktab.preinstall \
    basesrc/distrib/i386/floppies/ramdisk-small/dot.hdprofile \
    basesrc/distrib/i386/floppies/ramdisk-small/termcap.mini
cvs rdiff -r1.4 -r0 basesrc/distrib/i386/floppies/ramdisk-small/dot.profile
cvs rdiff -r1.6 -r1.7 basesrc/distrib/i386/floppies/ramdisk-small/list
cvs rdiff -r1.2 -r0 basesrc/distrib/i386/floppies/ramdisk-small/mtree.conf
cvs rdiff -r1.7 -r0 \
    basesrc/distrib/i386/floppies/ramdisk-small/ramdiskbin.conf
cvs rdiff -r1.17 -r1.18 basesrc/distrib/i386/floppies/ramdisk-tiny/Makefile
cvs rdiff -r1.2 -r0 \
    basesrc/distrib/i386/floppies/ramdisk-tiny/disktab.preinstall \
    basesrc/distrib/i386/floppies/ramdisk-tiny/mtree.conf
cvs rdiff -r1.4 -r0 basesrc/distrib/i386/floppies/ramdisk-tiny/dot.profile \
    basesrc/distrib/i386/floppies/ramdisk-tiny/ramdiskbin.conf
cvs rdiff -r1.5 -r1.6 basesrc/distrib/i386/floppies/ramdisk-tiny/list
cvs rdiff -r1.1 -r0 basesrc/distrib/i386/floppies/ramdisk-tiny/termcap.mini
cvs rdiff -r1.3 -r1.4 basesrc/distrib/i386/floppies/rescue-small/Makefile
cvs rdiff -r1.3 -r1.4 basesrc/distrib/i386/floppies/rescue-tiny/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.