Commit Graph

166 Commits

Author SHA1 Message Date
isaki 4aa2c0e5c6 Put secondary boot loader correctly.
patch from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
2002-05-19 08:12:05 +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
lukem 3201da47d1 remove unnecessary stuff 2002-05-12 09:47:06 +00:00
isaki 8043fd5e17 This is obsoleted by MI distrib. 2002-05-08 14:18:48 +00:00
isaki 7f9ea1c2f8 Rewrite with MI distrib. based on Minoura-san's work.
it makes x68k port cross buildable.
2002-05-07 14:08:30 +00:00
isaki 7478065a57 Move common files into floppies/common directory.
bootfloppy-common/Makefile.inc    -> common/Makefile.bootfloppy
 instkernel-common/Makefile.inc    -> common/Makefile.instkernel
 ramdisk-common/Makefile.inc       -> common/Makefile.ramdisk
 ramdisk-common/*                  -> common/*
2002-05-07 13:55:40 +00:00
lukem ed8e534c7e yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
2002-05-02 18:02:14 +00:00
isaki 12c2ab4d69 use ${PWD_MKDB} instead of pwd_mkdb. 2002-04-28 11:29:29 +00:00
isaki 7b175df846 Add 'newdisk' entry dropped at previous commit. 2002-04-28 11:28:44 +00:00
isaki dada32dfc5 Fix path. 2002-04-28 07:31:54 +00:00
lukem 5bf6e9db83 use RELINSTALL 2002-04-26 15:05:29 +00:00
lukem e5ef62ef2b - add specific special entry for sys/arch/${MACHINE}/stand/installboot
for ports that don't yet use the MI usr.sbin/installboot
- remove now-unnecessary srcdir for sys/arch/${MACHINE}/stand
2002-04-09 00:31:38 +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 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 044bc4a6c1 replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 12:27:08 +00:00
minoura 49a2f3f4c6 VND_CDEV -> VND.
Properly write disklabel.
2002-01-07 04:47:10 +00:00
minoura a54d2c0d9d .include <bsd.prog.mk> to use DESTDIR/usr/include. 2001-12-30 04:08:28 +00:00
minoura a05e3fce0a Overhaul installation system.
- Use new boot system.  Bootfloppies now use ustarfs.
 - Split instkernel.* directory from bootfloppy.*.
 - Adjust ramdisk size.
 - others.
2-floppy installation system cannot be compiled due to size bloat.
Disabled temporarily (?).
2001-12-07 06:57:49 +00:00
tv 5489b30b60 ${MAKE} print-objdir -> ${PRINTOBJDIR} 2001-11-14 00:58:48 +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
nsmrtks 4a74baff29 include bsd.prog.mk for cleandir target 2001-05-09 16:28:10 +00:00
wiz b1e99bd2a5 make -> ${MAKE}
Noted by Olaf Seibert on current-users.
2001-04-11 17:32:57 +00:00
minoura 5ffce5f735 Do not use bsd.prog.mk. 2001-04-08 03:28:44 +00:00
minoura 65f703caf1 Correct typo. 2001-04-01 13:09:37 +00:00
minoura fb67decf9c Change the kernel name from netbsdsi(.gz) to netbsd(.gz). 2000-11-29 08:28:55 +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 532d121692 Now that mount knows everything, do not link mount_* with ramdiskbin.
This might be a temporary fix if the traditional mount (possiblly
built in distrib/utils/x_mount?) turned out more space saver.
2000-11-28 02:46:13 +00:00
garbled 83f61a5891 Change all ocurrences of "crunchgen" to ${CRUNCHGEN} 2000-11-01 07:57:55 +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
minoura b53cfef01f Adjust ramdisk size. 2000-09-06 14:29:41 +00:00
minoura 256d7e4d2e Add dmesg.
Apparently I forgot to do this in the previous commits.
2000-09-06 14:24:30 +00:00
jhawk a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +00:00
minoura 4557a2e890 Reduce ramdisk size (again!). 2000-07-05 16:13:28 +00:00
minoura a5b1f99a17 Missing ;;. 2000-07-04 14:07:43 +00:00
minoura f4876c3dff Use more and zlib version of gzip-clone, and reduce ramdisk size.
Still work in progress...
2000-06-22 14:24:09 +00:00
minoura bdb99fed93 Reduce the size to fit with a single floppy.
Still too large by 20KB.  ...give up IPv6?
2000-06-18 10:33:18 +00:00
minoura fbf88e897c Include <bsd.kernobj.mk> and <bsd.own.mk> for ${KERNOBJDIR}. 2000-06-16 16:07:09 +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 af973bb6ea Look at KERNOBJDIR. 1999-12-25 14:30:24 +00:00
minoura 2bf0d1c859 Now that we have od and fully-functional dd, the special version of
installboot is no longer necessary.
1999-12-25 14:27:22 +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 37744a6f29 Use special version of installboot(8) which works without
od(1) and `big' dd(1).
1999-12-05 16:26:39 +00:00
minoura 7f6d65ca94 New install floppy/kernel based on sysinst. 1999-12-05 15:53:09 +00:00
minoura 6bc1468dd7 Use new target echoimage to get the image name. 1999-12-05 15:48:11 +00:00
minoura d63195d9ab Change the kernel name to fit in 8+3 characters. 1999-12-05 15:45: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 aa9918135a Add `release' target. 1999-11-23 14:13:07 +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 957dabcbcd Forgotten from last commit. 1999-04-07 15:28:01 +00:00
minoura ce03570956 Do not remove netbsd.INSTALL and netbsd.INSTALL.gz. 1999-04-07 14:30:52 +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
itohy 6220b02986 Use installboot instead of writefdboot.
Minor changes.
1998-10-18 07:35:00 +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 c2d098c4a2 Corrected installation of the bootblock. 1998-10-04 14:45:23 +00:00
minoura 9d0f75e2bb Use relative path. 1998-10-04 14:41:12 +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
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
oki 6aa7bad1fc Remove old-style install image. 1997-10-19 15:39:14 +00:00
oki a88eb35d75 Update for new bootfloppy/ramdisk 1997-10-19 15:38:34 +00:00
oki 5a9cb7b516 Remove old-style install image. 1997-10-19 15:33:26 +00:00