Commit Graph

54 Commits

Author SHA1 Message Date
lukem
ed56ec3a05 Rework how SMALLPROG was being used and how INET6 support was enabled.
There's two variables added to Makefile.crunch:

    SMALLPROG		If 1, add SMALLPROG=1 to CRUNCHENV.  [default: 1]
			This can be used by various Makefiles to
			determine if a `small' version of the program
			is required.

    SMALLPROG_INET6	If 1 and SMALLPROG == 1, add SMALLPROG_INET6=1
			to CRUNCHENV.  [default: 0]
			This can be used by various Makefiles to
			determine if the `small' version has INET6
			support enabled.

Only enable SMALLPROG_INET6 for programs on the ramdisks that have INET6 in
the appropriate kernel, and cleanup INET6 setting.
(Note: this means that sysinst won't get INET6 support if the kernel
it's running on doesn't have it).

This change saves a fair bit of space on various install images
(including i386 ramdisk-{ps2,small,tiny}) that didn't have INET6 in
the kernel but were unconditionally getting INET6 support in their tools.
2002-10-17 02:05:35 +00:00
isaki
5a9aa259f6 Add missing /dev/sram. it is used by memswitch(8). 2002-06-15 11:20:54 +00:00
lukem
18da51172f - reorganise to be more consistent with other distrib/* directories
(no need for a "common" subdir which contains stuff only really
  referenced by one other directory)
- use Makefile.tarfloppy instead of local code to build floppies
- use .WAIT in the top-level Makefile appropriately
- install inst.fs directly from ramdisk/Makefile rather than providing
  separate inst/Makefile
2002-05-13 01:04:18 +00:00
minoura
0cab28b0fc Reorganize (again) the installation system.
- Remove historical `script' installer, which was provided for
  4MB RAM systems.
 - Instead we provide `floppy-root' installer, which is composed
  of 2 floppies just like the installation system used in the netbsd-1-2
  days; one floppy contains (GENERIC) kernel and the other contains
  the miniroot.
 - The miniroots for both `ramdisk-root' installation system and
  `floppy-root' installation system are identical.
2000-11-28 03:03:26 +00:00
minoura
c331228c46 Remove /kern, which is not any longer needed. 2000-09-15 01:21:49 +00:00
minoura
a78010b7b8 Adjust ramdisk sizes. 2000-09-12 17:07:44 +00:00
minoura
ff60191d5e Pull common files into newly created ramdisk-common directory. 2000-09-12 16:42:50 +00:00
minoura
8199d05ce7 Reduce ramdisk size by using hacked commands in distrib/utils. 2000-09-12 15:40:00 +00:00
jhawk
a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +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
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
thorpej
2304ada2b0 Need /etc/netconfig. 2000-06-07 20:43:11 +00:00
sjg
1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +00:00
tsutsui
1bf52b391d rename (revert) memory disk filename /dev/mdX -> /dev/mdXa 2000-01-21 12:32:54 +00:00
tsutsui
e6824489b4 Fix root device name md0a -> md0 2000-01-10 05:03:24 +00:00
minoura
58b3ac77bd Give up support of 4MB RAM machines for standard sysinst-based installer.
Restricted small installer must be used on those machines.
1999-12-24 17:02:13 +00:00
minoura
6bc1468dd7 Use new target echoimage to get the image name. 1999-12-05 15:48:11 +00:00
simonb
56ed21ee98 Don't start update. 1999-11-23 23:00:47 +00:00
simonb
71efc75854 Don't start update. 1999-11-23 22:43:20 +00:00
minoura
08a98ee074 Add memswitch(8).
Remove update(8).
1999-11-23 14:13:55 +00:00
minoura
ff6a341dcb Make it be compiled again. 1999-11-13 14:19:12 +00:00
minoura
76875808ab Build INSTALL kernel automatically.
obj directory handling for read-only /usr/src.
Refer DESTDIR.
1999-07-06 16:22:58 +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
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
minoura
ac3360b0df Forgotten part in 1.7.
Copy /sbin/fsck_ffs with /sbin/fsck.
1999-05-01 10:59:55 +00:00
minoura
f4f212fdef Two changes.
- Now that fsck is only the wrapper for fsck_*, ffs upgrade options
 should passed through with -T option.  fsck_ffs is also required to
 be copied with fsck.
 - fsck_ffs may request large memory when the partition is big.
 Configure swap device even when the RAM > 4MB.
1999-04-19 22:44:37 +00:00
minoura
4b6070dc9f swapon only if physmem <= 4MB.
swapon before fsck.  This is needed if the connected disk is large.
Other message cosmetics.
1999-04-15 15:21:41 +00:00
minoura
cb06a1c589 swapon only if physmem <= 4MB.
Other message cosmetics.
1999-04-15 15:20:21 +00:00
minoura
2feaabda38 Run /start in the same shell.
Reduce memory use.
1999-04-14 14:18:44 +00:00
minoura
8d05bb55f9 G/c of the deleted programs. 1999-04-14 14:12:30 +00:00
minoura
50224771ef Descend to the utils dir for targets clean and depend. 1999-04-14 14:11:56 +00:00
minoura
4342da248f Size hacks.
Use libhack, x_route, x_ifconfig, init_s in the distrib/utils
to reduce the ramdisk size.
1999-04-12 16:06:36 +00:00
minoura
fa2cb59e90 SMALL kernel is not included in kern.tgz. 1999-04-02 15:46:34 +00:00
minoura
8db0486dd7 Add pax. Remove tar. 1999-03-27 14:07:08 +00:00
minoura
511a8fd293 Mostly imported from netbsd-1-3 branch (1.3.3 and 1.3.4)
- Set ${driveunits} correctly.
 - swapon on small memory machines.
1999-03-24 15:54:45 +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
minoura
3cd6b4425d There is no installboot for x68k port. 1999-02-05 15:50:51 +00:00
minoura
ddd80b8ebd Setup $driveunits properly. 1999-01-31 17:35:49 +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
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
minoura
690a8993f4 We support only SCSI disks. 1998-10-18 15:15:46 +00:00
itohy
16f4ff7111 Remove strings(1) (temporary?) since it is no longer in
src/usr.bin and the GNU version seems too large for floppies.
Use single-user only init(8), which saves ramdisk capacity
and a key stroke.
1998-10-18 07:50:18 +00:00
minoura
c94e60002d Back out previous patches: it is not necessory now. 1998-10-05 22:41:13 +00:00
minoura
24c03f53f8 Flush buffer cache. 1998-10-04 14:57:53 +00:00
minoura
ac7c4d39c5 They won't work :-p 1998-10-01 16:49:10 +00:00
lukem
06b0ffe181 distclean is a synonym for cleandir 1998-09-05 14:46:13 +00:00