Commit Graph

385 Commits

Author SHA1 Message Date
groo 7a1f1869d1 Reduce free inode count by one so ramdisk-big builds. 2002-04-03 03:12:28 +00:00
lukem e0f433e649 ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
2002-04-01 12:16:11 +00:00
lukem 484f8db2eb - Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
required, define them before pulling in libhack/Makefile.inc so that the
  dependencies work correctly.
- Other minor cleanups
2002-03-28 04:33:21 +00:00
lukem 1d10faf92a cosmetic reorg 2002-03-28 02:57:29 +00:00
lukem 25c4cc30b2 Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines.  Add gethost.o back to Really Small media which
appears to need the space savings.
2002-03-25 07:43:39 +00:00
lukem deffb66504 parselist.awk
- improve comments
- provide a general purpose variable replacement; replace contents of ${FOO}
  with ENVIRON["FOO"].
- deprecate @MACHINE@ and @MACHINE_ARCH@ in favour of using ${MACHINE}
  and ${MACHINE_ARCH} instead
- add errx() function; like err(), but doesn't print the line number
- invoke this script with various variables defined via PARSELISTENV

*/Makefile*
- use PARSELISTENV instead of POPULATEENV, and add variables like DESTDIR
- other minor tweaks

*/list*
- replace @MACHINE@ with ${MACHINE}
2002-03-14 22:26:08 +00:00
lukem 3566e993db use parselist.awk's newly added MTREE arg rather than having an
mtree.conf fragment for one file
2002-03-07 01:41:48 +00:00
lukem b627dc63c4 cosmetic tweak 2002-03-06 13:11:34 +00:00
lukem 23a0a8fb2e replace ${_SRC_TOP_}/distrib with ${DISTRIBDIR} 2002-03-06 04:29:35 +00:00
thorpej bdf6ab32ff Use ${PRINTOBJDIR}. 2002-03-05 20:29:33 +00:00
lukem 3f4dba701e cosmetic sort 2002-03-04 04:49:26 +00:00
lukem 1ee852b54c pull in bsd.own.mk first, incase RELEASEDIR is defined there 2002-02-27 13:42:35 +00:00
lukem 9918e3a90e use CLEANFILES as appropriate 2002-02-26 22:54:05 +00:00
lukem 0242a73525 cosmetic cleanup 2002-02-26 22:52:52 +00:00
lukem e1ab92e728 minor whitespace cleanup 2002-02-26 22:52:10 +00:00
lukem e77cbad9fa add check_RELEASEDIR to targets that require RELEASEDIR to be set 2002-02-26 13:27:50 +00:00
lukem b719f1f08d explain why gethost.o is disabled 2002-02-25 23:00:59 +00:00
lukem 7533a60e6a - migrate a bunch of the common list stuff to common/list.ramdisk
- use ${DISTRIBDIR} as appropriate
- use ${DISTRIBDIR}/common/list.sysinst if USE_SYSINST is defined,
  removing any replicated list info
- define USE_SYSINST in the sysinst-using ramdisks
- replace MAKEDEV_DEVS with MAKEDEVTARGETS
2002-02-08 05:02:16 +00:00
lukem 44f0b844b5 since we have ${TOP}, use it... 2002-02-08 04:53:50 +00:00
lukem 5e74123ea2 - set ${TOP} to ${.CURDIR}/.., and use as appropriate
- use ${DISTRIBDIR} as appropriate
- migrate most of mtree.conf to ${DISTRIBDIR}/common/mtree.common,
  leaving /.profile in mtree.conf
- remove MAKEDEV_DEVS support; replaced with MAKEDEVTARGETS support in
  ${DISTRIBDIR}/common/Makefile.makedev
2002-02-08 04:52:42 +00:00
lukem 64f10843ad set TOP to ${.CURDIR}/.., and use that 2002-02-08 04:40:51 +00:00
lukem db1902fd02 since we have ${TOP}, use it... 2002-02-08 04:37:25 +00:00
lukem 727ce6ba40 don't need REV and VER here anymore 2002-02-08 04:33:03 +00:00
lukem 339d59ee8a Changes to the tiny images so that an mfs /dev isn't required (there might
not be enough RAM to support that), at the expense of more inodes and a
slightly larger md file system (which, when compressed down, still fits in
a kernel and that kernel still fits on a 1.2MB floppy):
- Define MAKEDEV_DEVS to 'std md0 fd0 fd1 wd0 wd1 wd2 wd3 cd0 cd1 pty0 ttyv0'.
- Call makefs with -f 10, to add a few spare inodes.
- Crank imagesize from 1344k to 1440k to handle extra space needed by the
  inodes containing the devices.
2002-02-06 16:15:56 +00:00
lukem f551aa0ea4 If MAKEDEV_DEVS is defined, run etc.i386/MAKEDEV through MAKEDEV.wrapper and
makedev2spec.awk to generate another mtree specfile for use when building
the image, and don't copy dev/MAKEDEV to the target image.  This is primarily
for the tiny images which might not have enough memory for an mfs /dev.
Otherwise (MAKEDEV_DEVS not defined), continue to copy dev/MAKEDEV.
2002-02-06 16:12:18 +00:00
lukem 876b3e8195 no need to list etc/passwd anymore 2002-02-06 16:09:14 +00:00
lukem 848861bf4f add some more IMAGEDEPENDS 2002-02-05 11:15:04 +00:00
lukem de1da0afc1 remove XXX comments left in by mistake 2002-02-03 16:58:46 +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
lukem ce248e3fc1 - fix PAD=yes code so that it won't potentially trash some of the last
8k of the kernel.
- minor cleanup of an error message
2002-02-03 14:56:00 +00:00
lukem 9a9a577188 - remove unused variables, and variables that don't need to be set here
- use ${NM} instead of nm
- define KERNELSYMS from KERNELS
- remove netbsd.tmp in clean
2002-01-27 15:31:57 +00:00
lukem 19e7af73bc whitespace cleanup 2002-01-26 02:34:30 +00:00
tv 1399f528bf Don't gzip these .fs's either; only boot-big.fs gets gzipped in the end. 2002-01-08 04:00:01 +00:00
jmc 0a04168b5e Change to use utils/x_ed 2001-12-02 01:44:08 +00:00
jmc ce9f4d2c00 Fix VND device for unconfig 2001-12-02 01:43:38 +00:00
jmc de9d0f2c64 Tweak newfs params and fix VND device for unconfig 2001-12-02 01:43:12 +00:00
jmc 132a19d90a Add bsd.prog.mk so libhack components build. (gets proper CPPFLAGS pulled in
for builds).
2001-11-19 05:31:00 +00:00
jmc 9cc2cb211f Turn back on all floppies. They all build once again with both new and old
toolchains
2001-11-08 07:41:03 +00:00
jmc c79e9118a0 Nuke chio and chroot to make some room. Also twiddle with inode size on newfs.
Makes everything build once again.
2001-11-08 07:40:01 +00:00
jmc fbc66d002f Bump inode size up to get some space. Very few inodes actually get used here 2001-11-08 07:37:39 +00:00
tron ae4a0efaaa Fix oversight in last commit. 2001-11-08 07:30:00 +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
christos 9dda7754d1 Use the raw device for vnconfig. 2001-11-07 03:54:13 +00:00
christos 18e3ce40a8 Use the raw device for vnconfig and disklabel. 2001-11-07 02:50:22 +00:00
jmc b13224ff44 This file doesn't belong...No need for it and direct obj dirs can/will pick it up and do the wrong thing 2001-10-30 04:58:08 +00:00
jmc 4d6ad24166 Convert to using ${MDSETIMAGE}.
Provide a default value for $MDSETIMAGE and pull in bsd.own.mk to have
it overriden as needed for cross/-current builds.
2001-10-21 23:23:19 +00:00
jmc a37907dc27 Add MTREE?= to add Makefiles and use when running mtree 2001-10-13 06:15:15 +00:00
enami 652855a0c7 Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts.  Pointed out by chs@netbsd.org.
2001-10-10 05:13:51 +00:00
jmc 1f7d4add83 Change DBG= to DBG?= so it's controllable from the top level makefile easier. 2001-10-05 01:19:42 +00:00
jmc 545ea87341 Tweak newfs so this has space again. Really need barely any inodes on the floppy 2001-10-04 04:57:20 +00:00
jmc 7ae0c501ca Add DBG=-Os to all so libhack.o gets built without using -O2 on it.
Also adjust the clean rule to first run the clean rule from ramdiskbin.mk
if it exists (cleans up the object subdirs then from the new crunchgen setup)
2001-10-04 04:14:06 +00:00
jmc ecf83970eb Add an unconfig target for the fdset's 2001-10-04 04:11:26 +00:00
tls aeb590fb1f GCC 2.95 generates significantly larger code with -O2 than our old compiler did; thus we overflow the floppies. I thought we used to explicitly set -Os in here; anyway, with this change, we do now! 2001-09-23 23:40:29 +00:00
tv 124e80aa4c Get new dhclient-script from usr.sbin/dhcp/clientscript/. 2001-08-18 16:03:48 +00:00
matt 06c22beb4b Copy dhcp file from dist (since it has now moved there.) 2001-08-16 14:27:19 +00:00
jdolecek 87b865f2a9 It takes quite a while for the /dev to be setup on my PS/2 test machine.
Since impatient users might think the machine locked up, print a message
'Creating real /dev (this may take a while) ...' so that they know what's
happening.
2001-07-30 22:43:36 +00:00
jdolecek 8fca9dfe2d make BLOCK8K match DISKSIZE 2001-07-30 21:38:22 +00:00
jdolecek 6780bcba0b Add PS/2 bootfloppy, to be used for installation on IBM PS/2 machines. 2001-07-21 14:46:08 +00:00
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
veego bc41e8429e Remove tmplabel during a make clean. 2001-06-24 12:15:58 +00:00
veego f208f983fe Remove also the kernel symbols files during a make clean and co. 2001-06-24 12:09:04 +00:00
chs dcb3005097 Use x_mount and x_umount. 2001-06-12 03:26:08 +00:00
christos c027433aad dhclient-script moved to sbin
XXX: other ports should be broken because of that
2001-05-26 16:01:32 +00:00
christos ad5c2aaf93 make this work again (don't specify explicitly object files in x_dhclient) 2001-05-26 16:01:03 +00:00
christos 6e87bd852f fix the rest of the ! lossage. 2001-05-26 00:10:06 +00:00
christos af5257fca4 Don't run crunchgen 3 times, extra crunchiness is only good in chocolate. 2001-05-25 17:12:41 +00:00
fvdl 0dc0aa727e Use x_mount and x_umount. 2001-04-29 15:20:55 +00:00
fvdl 6bb58cf2c0 Use x_mount and x_umount. Remove mount_ext2fs, since there's no ext2fs
support in INSTALL_TINY.
2001-04-29 15:20:33 +00:00
fvdl a95d02b2a4 Remove more(1) from the 'small'image, it is not used in a sysinst install. 2001-04-29 00:24:39 +00:00
atatat 671d048ebd Adjust the dhclient objs to deal with the new dhcp source that was
imported.
2001-04-08 04:23:43 +00:00
jmc af957ccb50 Make sure crunchgen remakes the makefile everytime and it doesn't use it's
cache since other Makefiles could change source files too easily.
2001-02-25 03:54:24 +00:00
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
thorpej 9079663531 Put test(1) back, and give myself 20 lashings for nothing thinking
about that one more carefully.
2000-06-14 17:20:56 +00:00
cgd d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
he 561186c423 Oops, need to descend into ramdisk-tiny now too. 2000-06-12 18:53:01 +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
he ceaccf4ae5 Add construction of three types of "rescue" images, based on the
boot images.

The difference compared to the boot images is that these do not contain
sysinst, but do on the other hand contain dump/rdump, restore/rrestore,
scsictl and chio in addition to the other stuff already on the install
floppies.

The images built are
	rescue1.fs
	rescue2.fs	Based on the full INSTALL kernel, on two floppies
	rescue-sm.fs	Based on INSTALL_SMALL
	rescue-ti.fs	Based on INSTALL_TINY
2000-06-10 18:56:47 +00:00
marc 064ca03436 prevent unecessary rebuilds of ${IMAGE} 2000-06-07 22:15:31 +00:00
thorpej 5dd5a4e083 Remove restore(8). It doens't belong on install media, and if we
want to provide that functionality, we can do it some other way.
2000-06-07 21:13:12 +00:00
thorpej 9e01451f4c test is a shell built-in; don't need a separate binary. 2000-06-07 21:00:03 +00:00
thorpej eef8b653bc Need /etc/netconfig. 2000-06-07 19:42:23 +00:00
thorpej afb5621bab Add another `cylinder' to the ramdisk. 2000-06-07 19:41:47 +00:00
matt 559fadb14a To pick up KERNOBJDIR, we need to include bsd.own.mk before the loop. 2000-05-31 17:14:01 +00:00
matt f43d715728 Make the path relative instead of using BSDSRCDIR 2000-05-29 05:37:06 +00:00
hubertf baa1e576e4 Make it easier to comment out single targets/floppies. 2000-05-10 23:44:51 +00:00
mycroft 873c2fbd93 Build bootfloppy-small, as a 1.44MB floppy image. 2000-05-06 05:32:28 +00:00
mycroft 48b5b5f82c Build bootfloppy-tiny again. 2000-05-05 21:37:05 +00:00
mycroft b0afa4ef98 Need BLOCK8K now. 2000-05-05 21:35:51 +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 23873a5473 GC some unused stuff. 2000-05-05 21:25:58 +00:00
mycroft 21d295469d Minor cleanup in previous. 2000-05-05 21:08:01 +00:00
mycroft 0992b5f229 Make this capable of generating a single-floppy image. 2000-05-05 21:01:35 +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
mycroft 64228ba734 Build in ramdisk-kernel. 2000-05-05 19:30:13 +00:00
mycroft 7080cedad4 Makefile to build and install the ramdisk kernels, separately from the boot
floppy images.
2000-05-05 19:29:28 +00:00
hubertf 057045f8bf Add commented-out BOOTCODE setting for bootfloppies with output to
serial console.
2000-05-04 14:12:13 +00:00
sjg 1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +00:00
sommerfeld 59c8861b20 Disable building of bootfloppy-tiny for now since we don't fit. 2000-04-23 15:05:02 +00:00
sommerfeld 1613a87db4 Change how ramdisk is sized so we can actually use more than 1.44mb of
space.

Adjust RAMDISKCYLS and/or RAMDISKSPC to change the ramdisk geometry.
the total blocks on the ramdisk is computed automagically from this.
2000-04-23 15:04:25 +00:00
thorpej 04b675c7a2 Provide a Makefile here so that the previous level will traverse down. 2000-04-07 17:44:19 +00:00