Commit Graph

169 Commits

Author SHA1 Message Date
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
ad
63b3c394ac More inodes. 2000-03-16 14:56:19 +00:00
soren
89e842a822 mbrlabel moves to /sbin. 2000-03-15 12:16:36 +00:00
mycroft
d128de6bc6 Change miniroot size to 3072. 2000-02-27 20:26:07 +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
1bf52b391d rename (revert) memory disk filename /dev/mdX -> /dev/mdXa 2000-01-21 12:32:54 +00:00
tsutsui
bdfb1f79c9 STRIP -> STRIPPROG 2000-01-19 16:40:10 +00:00
tsutsui
e6824489b4 Fix root device name md0a -> md0 2000-01-10 05:03:24 +00:00
itojun
8cb34890e1 bring in ping6 and rtsol into boot floppy image. 2000-01-04 08:30:24 +00:00
itojun
6aa45a8fe1 use mtree -U, not mtree -u.
re-enable error code check (remove "-" magic from makefile).

From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
Message-ID: <Pine.GSO.4.05.10001020308490.20750-100000@rfhs8036>
2000-01-02 13:59:34 +00:00
itojun
ba694ff21c i'm not sure why, but without ignoring mtree error (error code 2)
i can't build floppy at all.  hope this is not my pilot error.
1999-12-31 18:34:04 +00:00
itojun
1d729cc2a3 avoid libipsec.a by using x_ping instead of ping. 1999-12-31 18:33:25 +00:00
simonb
2e3036aadb Remove update from the miniroot lists. 1999-11-23 23:16:02 +00:00
simonb
71efc75854 Don't start update. 1999-11-23 22:43:20 +00:00
simonb
1b411c7a86 Remove update from all ramdisks. 1999-11-23 22:14:22 +00:00