Commit Graph

33 Commits

Author SHA1 Message Date
tv b21858f304 Don't create gzipped versions of the install floppies. The floppy images are
not padded to disk-size boundaries (except for boot-big, for somewhat
unnecessary reasons), and the included kernel is already gzipped.  Adding
another round of gzip saves only tens of K, but creates a duplicate image,
wasting space on release media including these files.
2001-07-02 14:10:09 +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
jdolecek 78b131351f set BOOTCODE via ?=, to allow overriding it 2000-08-13 18:42:54 +00:00
toddpw e36c17d6c2 Have port-i386 use installation/floppy, for conformance with release(7). 2000-08-11 09:20:38 +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
jhawk 5b7f59e5d1 For all filesytem image building targets, build ${IMAGE}.tmp and
move it to ${IMAGE} when done, to ensure that an interrupted
build does not leave a broken non-functional target. (This can occur,
for instance, if one types 'make' as a non-root user and the vnconfig
fails, and then a subsequent 'make' will not rebuild the filesystem
image, using the all-zeroes image created by dd.)
2000-07-06 18:16:35 +00:00
mycroft 819afb8af2 Switch to using ustarfs. Saves space, and allows us to truncate the image if
it's smaller than the media (e.g. boot-big.fs).
2000-05-05 21:34:32 +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
enami 5d16084a1d Don't try to remove old /boot after new one is installed.
Actually, we don't need to remove it since we are using fresh image.
2000-02-18 02:50:17 +00:00
tsutsui a9d4a72b25 Revert STRIPPROG -> STRIP 2000-02-01 05:02:31 +00:00
mycroft 9cd2b045d3 Make these work again. 2000-01-24 17:52:24 +00:00
tsutsui bdfb1f79c9 STRIP -> STRIPPROG 2000-01-19 16:40:10 +00:00
he eafd8f707f Provide some more automation in the "make release" process. Also build
and install:
 o INSTALL and INSTALL_TINY kernels (for boot floppy images)
 o GENERIC_TINY kernel
 o Boot floppy images
Ideas borrowed from etc/etc.sun3/ setup.
1999-11-09 00:22:39 +00:00
drochner ccb094136e find "mdsetimage" in ${DESTDIR} 1999-03-23 18:05:45 +00:00
sommerfe 6a5409ffe2 Update comment about newfs parameters for 1.44M disks
(and make it clear they're not going to get better)
1999-03-13 21:43:34 +00:00
sommerfe d9994f64bd Copy compressed kernel with miniroot inside to "netbsd" rather than
"netbsd.gz".  This speeds the boot by a small but perceptable amount.

The time between when the bootblocks print "no such file or directory"
for netbsd and when they show signs of actually having found netbsd.gz
is long enough to be noticeable, and looks bad..
1999-03-13 20:02:32 +00:00
sommerfe 2ccf28fc88 Install bootblocks before the kernel; this speeds the boot slightly as
the system doesn't have to seek to the end of the disk and then back
again.
Use gzip -9 to try to squeeze every last bit in.
1999-03-13 19:58:44 +00:00
sommerfe 40b1ba1fb9 Use installboot and bootblocks from DESTDIR 1999-03-13 19:19:03 +00:00
wrstuden ad140b77ea Modify all calls to newfs in ramdisk/miniroot creation to include
the needed endianism of the architecture. One step towards cross-building
releases.

Not touched are newfs calls in install scripts as they run on the desired
machine and thus default correctly.
1999-03-04 20:32:18 +00:00
thorpej 4b08b00301 Need to pull in <bsd.own.mk> to get preferences set in mk.conf (e.g.
OBJMACHINE).
1998-11-27 21:10:10 +00:00
perry 274d4c2de2 Fixes to the install floppies
(from Havard.Eidnes@runit.sintef.no)
1998-10-12 16:32:16 +00:00
lukem 06b0ffe181 distclean is a synonym for cleandir 1998-09-05 14:46:13 +00:00
bad 4da46852f5 We don't need to manually flush the buffer cache after ``vnconfig -u''
anymore.
1998-01-26 23:50:54 +00:00
perry 66d732b062 remove ${REV} from floppy names per new practice. 1997-11-29 21:18:58 +00:00
perry da801e20c2 Change default bootfloppy to 1.44M, and add a 1.2M "small" bootfloppy. 1997-11-05 03:39:51 +00:00
hannken 417f8e4a63 Fix wrong values for free blocks/inodes versus `bytes per inode'. 1997-08-07 18:09:49 +00:00
hannken 6f746d6d8c Add new variable `INO_BYTES' for the `-i' parameter to `newfs' and set
to 204800 instead of 6144. This gives 16k more data space with 61 inodes
left. Variable may be overwritten from command line.
1997-08-07 11:32:00 +00:00
phil 7e64b24b2c Changes to deal with vnds that need to be disklabeled. Using
vnd?d for vnconfig and vnd?a for newfs/mount.
1997-07-29 18:07:48 +00:00
thorpej 278032974f Update for changes to vnconfig(8). 1997-06-23 21:18:34 +00:00
jtk 712a7863e8 unmount before running installboot so this works on securelevel >1 systems 1997-06-23 01:14:32 +00:00
christos 65650e234d Make this work with objdirs. 1997-06-21 21:30:49 +00:00
perry 3148c0e429 Initial commit of new single floppy install/upgrade system. 1997-06-14 18:56:00 +00:00