Commit Graph

212 Commits

Author SHA1 Message Date
jmc
5b7e142d78 Only put std devices onto the image's /dev.
Then once booted mount mfs onto /dev and make a full device tree. This gets
around the silliness of running out of either space/inodes all the time when
building the floppy images. Tested this on all combinations of floppies.
2001-01-24 18:18:57 +00:00
jmc
0c549828e0 Change inode allocation to 5000 since we don't need nearly as many inodes now and do need the space they take up. 2001-01-24 18:18:56 +00:00
jmc
bcdff193d6 Only put std devices onto the image's /dev.
Then once booted mount mfs onto /dev and make a full device tree. This gets
around the silliness of running out of either space/inodes all the time when
building the floppy images. Tested this on all combinations of floppies.
2001-01-24 18:18:56 +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
jmc
2218a87a45 Re-enable all floppies. All of them now build. 2000-12-14 22:27:29 +00:00
jmc
48af220041 First pass at standard floppy set that uses serial boot blocks. Still need to finish sysinst patches to install/ask for these at install time. 2000-12-14 22:26:06 +00:00
jmc
987b4b68dd Add serial bootblocks onto the image so these are available for sysinst. 2000-12-14 16:04:51 +00:00
mycroft
7427bb10d1 rescue-small is currently borked, too. 2000-12-14 09:01:30 +00:00
mycroft
d4062e7ddd Who'd've guessed? The -tiny floppies don't build any more. 2000-12-14 08:58: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
fvdl
4a927f1e51 Also install the kernel symbol files in the distribution dir. 2000-11-13 21:10:57 +00:00
garbled
83f61a5891 Change all ocurrences of "crunchgen" to ${CRUNCHGEN} 2000-11-01 07:57:55 +00:00
he
39955ea9f3 gdb apparently needs redirection of stdin to /dev/null so as to not
to cause a hang (SIGTTOU?) on background builds.
2000-10-21 18:19:26 +00:00
fvdl
1e92db558a Add a little gdb script to switch off FFS clustering. This avoids
buffer cache lockups in INSTALL_TINY (it has very little buffers
to spare). This is the least intrusive way of fixing that.
2000-10-20 21:49:00 +00:00
fvdl
c11dcd2836 Adapt for new x_dhclient. 2000-10-18 21:03:41 +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
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
533e348801 Remove less(1), to make some necessary room (it's not needed for the pure
install floppy, but is available on the rescue image).
2000-10-06 14:40:37 +00:00
fvdl
67226ec4f1 Add empty 'release' target. The kernels have been made and copied in the
kernel-ramdisk subdir already.
2000-09-28 13:05:37 +00:00
fvdl
19f23b26a8 Remove some unnecessary links. 2000-09-27 22:14:15 +00:00
fvdl
ae21c8a20e Allow BOOTCODE override (another overhaul victim). 2000-09-27 22:03:44 +00:00
fvdl
fca3019c39 Use 'bootlap' as a basename for this set, to avoid conflicts. 2000-09-27 19:13:52 +00:00
fvdl
36640e437b There's no dhclient on this disk, it had to be sacrificed for space. 2000-09-27 18:53:57 +00:00
fvdl
0734e3a954 We don't use dot.hdprofile anymore. 2000-09-27 18:53:35 +00:00
fvdl
350aa78fde Re-add another merge victim: generation of the obsolete file lists. 2000-09-27 17:43:49 +00:00
fvdl
4b5ce0a778 Re-add auth.o for dhclient. Got lost in the overhaul. 2000-09-27 17:22:08 +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
7864d584a1 Remove old files in preparation of rearrangement. 2000-09-27 15:45:40 +00:00
jhawk
7f1db25a27 Revert rev 1.7, because retaining any symbols
causes fdset booting to require 2 floppy swaps.

XXX Need to deal with install(8) suggesting you can patch
vars.
2000-09-21 04:43:32 +00:00
christos
48f9465eba add restore
XXX1: clearly /bin/test and /bin/[ should be replaced by #!/bin/sh\ntest "$@"\n
XXX2: ramdisk-tiny/list should be generated from ramdisk/list to avoid skew;
XXX3: there is no point in including dump in ramdisk-tiny/list
2000-09-19 20:35:51 +00:00
darrenr
8c0d804feb fix problems building a distribution on i386
re. PR's 11023, 10991, 10978 (others ?)
2000-09-18 11:56:09 +00:00
jlam
aa8883f44d Make the `clean' target match the one in ../ramdisk/Makefile. 2000-09-10 18:55:15 +00:00
jlam
dbaf4cbb17 Remove the kernel symbol files during a `make clean'. 2000-09-10 18:48:36 +00:00
jhawk
a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +00:00
jhawk
b0dcac329d Pullaround from distrib/bootfloppy-common/Makefile.inc rev 1.18.2.2:
Make sure PCMCIA alloc variables are retained in the symbol table of
  the resulting kernel, allowing them to be tweaked.
Also add pcic_irq_probe.
2000-08-24 00:58:02 +00:00
jhawk
ebba3f6378 For stripped kernels, run nm and save the output as
netbsd.KERNELNAME.symbols, and install in the release(7) tree.
2000-08-24 00:41:54 +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
mycroft
741470debd Revert revision 1.17. This was not a bug, and should certainly not have been
changed in a vacuum.
2000-07-23 05:54:59 +00:00
joda
135bc4a5e7 don't cause failures in mv -f to abort build 2000-07-10 09:50:48 +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
thorpej
ad560c44c2 Allow BOOTCODE to be set by the file which includes this one. 2000-07-06 17:17:54 +00:00
thorpej
8a967a7bdf Don't truncate the image if it fits on a single floppy. 2000-07-06 17:17:15 +00:00
cyber
4f6b2833f7 dhclient support added 2000-06-18 23:57:32 +00:00
cgd
c85d2eb42b sweep of my licenses for consistency. (no functional changes) These
files have copyright held by people in addition to myself.  (I did the
original work, they copied it, enhanced it, and added their copyright
to the derivative work.)  Their approval has been given re: the license
change.
2000-06-14 22:52:37 +00:00
cgd
db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00