Commit Graph

23 Commits

Author SHA1 Message Date
snj a640fe8c43 It's "its." 2006-04-24 19:00:29 +00:00
lukem 02bca44c5e Pad all floppy images to the floppy size.
Requested by Jason Thorpe in [port-i386/23785]
2003-12-18 00:44:22 +00:00
lukem c7ad6e6337 Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX". 2002-11-18 12:39:43 +00:00
lukem 858e032a8f Merge kernel-ramdisk & kernel-rescue into instkernel, now that
../../common/Makefile.mdset supports building multiple copies of the
same kernel (as long as they're to separate filenames).
Now there's no need to set FLOPPYKERNDIR, as it now defaults to instkernel.
2002-10-14 16:20:39 +00:00
lukem d2d5d54df9 always set FLOPPYMETAFILE if FLOPPYSIZE!=2880 2002-05-12 10:48:35 +00:00
lukem ad423f169c Migrate MI-shareable stuff to distrib/common/Makefile.tarfloppy. 2002-04-16 09:06:49 +00:00
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
lukem b5c22acdbc revert revs 1.10 (and 1.11); now back to using the ustarfs build framework
from ../bootfloppy-common/Makefile.inc like the other boot floppies.
it wasn't ustarfs that was broken, it was the broken PAD=yes code in the
latter trashing the last 8k of the kernel...
2002-02-03 14:58:24 +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
fvdl 36ea504b68 Switch this one back to FFS, at least until ustarfs is fixed. ustarfs seems
to fail for 2.88 images at certain image sizes.
2000-10-17 21:08:43 +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
fvdl 73683a9450 If the PAD variable is defined, pad the floppy image to its maximum size.
Use this in bootfloppy-big. mkisofs likes to have images fullsize nowadays.
Also, insert a file called "USTAR.volsize.<blocksize_in_octal>" if the
size of the ustar image is not the 1.44M default. This stops bootfloppy-big
from asking for a second diskette.
2000-07-09 12:09:01 +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
he 97645818ba Let's call this image boot-big.fs. 1999-03-08 15:59:34 +00:00
he e861a305f3 Typo correction. 1999-02-17 12:27:16 +00:00
he 0c0355cfd9 bootfloppy-big/Makefile creates 2.88M diskette image suitable for CD-ROM boot.
(Depends on new disktab from etc/etc.i386/.)
Don't descend into bootfloppy and bootfloppy-small since these now overflow,
now do ramdisk, fdset, bootfloppy-big, and bootfloppy-tiny.
1999-02-01 21:55:31 +00:00