Commit Graph

214 Commits

Author SHA1 Message Date
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
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 b4548e6710 remove obsolete file 1999-10-25 16:44:53 +00:00
hubertf d449004e6a Add shell functions for grep and dmesg. 1999-09-27 02:47:58 +00:00
christos b58be766cb add rcmd; there are no other tools that let the user remotely execute
commands.
1999-09-07 06:54:21 +00:00
bouyer d4a5c0f7ec Add wiconfig(8), needed for installs over wawelan networks. 1999-08-12 15:34:19 +00:00
christos 001e4d5767 add -lbz2; also sort the libraries properly. 1999-07-26 08:07:30 +00:00
fvdl b663bdb63e Need -lipsec now, for ping. 1999-07-05 08:52:49 +00:00
fvdl 5421c40146 Strip the kernel. Nothing on the bootfloppy uses them (except DDB, but
that's rare), and currently it's likely that you need to seek back
in the bootprocess to get the symbols, confusing ustarfs.
1999-07-02 22:00:17 +00:00
cgd 7aa73e55cb after checking and setting DONEPROFILE, export it so that children of the
shell (e.g.  programs and shells invoked via sysinst) don't try to run
sysinst again.  Fixes PR#7805.
1999-06-26 06:12:49 +00:00
christos 457a67e5f9 Increase the number of inodes. 1999-06-09 01:45:28 +00:00
bouyer f10be91eae Ops, remove debug code added with previous commmit. 1999-06-05 20:44:57 +00:00
bouyer 90d35fd201 Generate the /dist/obsolete_* files used by sysinst from the obsolete lists
in sets/lists/*. The sript sets/makeobsolete concatenates the mi and md
obsolete list files all or a specified set and dumps it in a file, in a
subdir specified on the command line (inspired from the maketar and makeflist
files).
Use this for all the sysinst-based installs.
Untested for non-i386, and the md obsolete list may be wrong or incomplete.
Each postmaster is supposed to check this on his port.
1999-06-05 20:17:38 +00:00
tron 2f3417d997 Fix listfiles to handle object directories. Patches supplied by
Izumi Tsutsui in PR misc/7628.
1999-05-23 07:31:19 +00:00
veego dfa799a037 Sync with the recent crunchgen changes.
- Remove *.cro files and not the obsoleted *.lo files.

From Bill Studenmund commit message:
> 3) Generate .cro files rather than .lo files. .lo now is used for "local
> objects" - obj's for the host machine not the target machine.
1999-05-11 20:46:58 +00:00
christos b84e78c664 Add mount_ntfs 1999-05-06 17:13:08 +00:00
bouyer 6f626b2c13 Add dist/*_obsolete files, used by sysinst. These files have been manually
generated from distrib/sets/lists/*/obsolete{mi,i386} files. A better
way to get them should be found ...
1999-04-19 23:55:28 +00:00
fvdl 5da713368c Add mbr_bootsel. 1999-04-15 22:41:24 +00:00
dbj cd79d7d899 move pwd_mkdb earlier to avoid bumping our head on disk image size. 1999-03-30 08:03:42 +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
drochner ccb094136e find "mdsetimage" in ${DESTDIR} 1999-03-23 18:05:45 +00:00
ross 5d25794ed2 Rearrange progs slightly to split up MI and MD specs. 1999-03-22 08:59:33 +00:00
he 83636f9dde Since we include EXT2FS in the kernel, we should have mount_ext2fs too. 1999-03-17 23:32:33 +00:00
he 0cc83570fc Reenable gzip symlink, pax uses it. 1999-03-16 20:17:14 +00:00
sommerfe 2d2e8be23c Temporarily back out the libhack version of gethostby* as it's *too* small. 1999-03-14 03:29:06 +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 72b3c2be3c Shrink ramdiskbin by ~184K.
- use libhack to avoid dragging in YP and DB (saves about 108K of libc
   we have no need for).
 - use more of the -DSMALL utils from distrib/utils/x_*  (saves about 76K)
	(except x_gzip, which is actually bigger).
People who want to be able to install files which have been translated
into EBCDIC, or install over XNS, can probably figure out other ways
to get this done.

This means that a boot image again fits on a single 1.44M floppy, with
about 50k to spare.
1999-03-13 21:21:51 +00:00
sommerfe 2f946a25db Don't over-reserve space in the tarball for the bootfile; strip the bootblocks
(just being used as a "spacer" in the tarball).
1999-03-13 20:44:16 +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
itohy 29b70cd215 Use G0 (not G1) for the alternative character set (DEC line graphics).
Delete "\E)0" sequences and make ":as=\E(0:ae=\E(B:"
(some terminals use "1" for "0").
This change makes it easy to use 8-bit encodings, such as ISO8859, EUC, etc.
PR #7126.
1999-03-13 09:03:28 +00:00
marc d498a2d354 update the list to correspond to the programs which are actually in
the ramdiskbin
1999-03-11 06:24:36 +00:00
he 982ab7b13a Add termcap.mini, with both pc3 and vt100 terminal types, and use it. 1999-03-09 19:28:54 +00:00
he 97645818ba Let's call this image boot-big.fs. 1999-03-08 15:59:34 +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
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
he 7cf58978a8 Fix clean target too. 1999-02-01 15:13:01 +00:00
he 135540da2a Rename boot disk set name from 'disk' to 'boot'. 1999-02-01 14:25:09 +00:00
garbled 851ee9e397 1) Remove all vestiges of tar from src/distrib. Use pax and appropriate
commandlines for all tar operations.  (work supplied by Matt Green)
2) Update arch/*/md.c to deal with new sysinst/run.c.  Special case
anything that needs to do a redirect or a pipe.
3) #if 0 some unused code in target.c. This code will need to be updated,
or special cased with do_system.

Big thank you to Matt for all his work on this.
1999-01-25 23:34:20 +00:00
garbled c3262a3841 Use pax instead of tar on the ramdisk bins.. create appropriate link for
tar to get tar-like fonctionality.
1999-01-21 07:52:00 +00:00
abs 3726df67b9 set BLOCKSIZE=1k (so df behaves the same as when installed)
set EDITOR=ed (otherwise disklabel -e tries to run 'vi')
1999-01-08 04:32:33 +00:00
he 113bf32fbf Makefile setup to construct multi-floppy boot using ustarfs. 1998-12-19 19:51:23 +00:00
jonathan 7c7a3d90e5 Dead. 1998-11-28 02:53:33 +00:00
jonathan aaa44058ad Use MI versions of the dot.commonutils and dot.instutils helper
scripts for ramdisk-based script installer (even where commented out).
1998-11-28 02:49:44 +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
he 7675f01a71 Add mbrlabel, and make both mbrlabel and swapctl visible in the images. 1998-11-18 18:29:21 +00:00
he beb611e886 Add a copy of /usr/mdec/mbr, for the benefit of fdisk. 1998-11-11 18:52:50 +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 3891a64da7 Add $HOME to profiles, closes pr 4323 (from Tatoku Ogaito) 1998-01-09 21:51:25 +00:00
perry 3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
fvdl 79227d6edd Changes to always use new install system; remove old scripts. 1997-12-19 01:03:39 +00:00
perry 66d732b062 remove ${REV} from floppy names per new practice. 1997-11-29 21:18:58 +00:00