Commit Graph

88 Commits

Author SHA1 Message Date
dogcow c1583b0d2c Since /etc/services has gotten rather large, use a minimal one for install
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
2007-05-10 23:22:27 +00:00
dogcow 14ae239c93 The screaming hordes have made their wishes known for a working MD5 checksum
file; as `cksum -m` is no longer functional, convert it to `cksum -a MD5`.
2007-02-02 16:11:05 +00:00
fredb 857732d328 Make the "iso-image" a hybrid HFS/Rockride image. The main benefit, is
that the Macbinary files in the "misc" directly are now directly executable
from within Mac OS. This solves a "chicken-and-egg" problem: you can't even
distribute a tool to unpack the archives on a plain ISO image, as the
executable code is all in the resource fork on mac68k. In other words, a
user can now begin the installation by simply double-clicking on the Booter
program on the CD-ROM.
2004-06-26 16:09:09 +00:00
wiz 3f9411f688 Spell removable with only two es. Inspired by jmc@openbsd. 2004-04-19 12:44:09 +00:00
dsl 8fc0ae8d08 Add French, German and Polish sysinstmsgs to all ramdisks that include sysinst
expect those where at least one of the language variants isn't built,
and those that are known not to have enough space (i386 ramdisk-tiny).
Files added to list.sysinst, list.sysinst.en is used when these files
cannot be added.
This might hit a size limit on another build - but I have no (sane) way of
testing it.
2004-04-18 20:04:26 +00:00
fredb ed32656425 Supply the "release" target for "make release" or "./build.sh ... release". 2004-03-27 18:05:38 +00:00
fredb 0bf4fe8caa "/usr/bin/gawk" is no more. 2004-03-27 17:29:32 +00:00
jmc b7086b2d3d Add stand to directory list 2004-03-26 06:33:18 +00:00
jmc 43a9b56854 Add installation/misc into the main tree (so it's not added by hand to
releases anymore...). Decode and place files accordingly into RELEASEDIR
2004-03-26 06:03:29 +00:00
lukem 89f2e609f9 use simpler MDSET_NOSTRIP= instead of MDSET_NOSTRIP.xxxx= 2003-10-25 04:39:48 +00:00
salo 8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
he a3cd065d26 Increase i-node density from 16KB per inode to 12KB per inode to make
the miniroot build again.
Discussed with scottr.
2003-05-02 22:40:19 +00:00
he cf13cdc4df Stop trying to include grep in the miniroot, since this in grep's
current incarnation causes a build failure for the miniroot.
Use awk instead; this also eliminates the need to include "cut" in
the mac68k miniroot.

Reviewed by Scott Reynolds (except for the "cut" eviction).
2003-03-07 16:57:46 +00:00
he 3d65d2c867 The ports which use grep in their miniroot need to have a special
rule to get at the source (and object) directory after the recent
grep move.
2003-02-19 14:21:06 +00:00
tsutsui a6223afc8f Remove "srcdir distrib/utils/x_mount" from ramdisk lists
since src/sbin/mount/Makefile no longer links fs specific routines.
2003-01-19 12:26:47 +00:00
lukem ea0637c5af Now that usr.bin/ftp/Makefile supports SMALLPROG and SMALLPROG_INET6,
we don't need distrib/utils/x_ftp anymore...
2002-10-17 06:38:15 +00:00
scottr 520b15f793 Add date(1) to pacify dhclient-script. 2002-07-10 15:50:09 +00:00
scottr ee8f37fa3f Add support for DHCP network configuration. 2002-07-04 17:59:33 +00:00
lukem 12b58960af enable MDSET_NOSTRIP.${FILENAME} for mac68k kernels 2002-05-10 02:33:17 +00:00
lukem 04e61f8526 - whitespace consistency cleanup
- build (mdset/nm/strip) into ${filename} as one rule, and move ${filename}.gz
  into separate rule
- rename MDSET.${filename}.nosymbols -> MDSET_NOSYMBOLS.${filename}
- rename MDSET.${filename}.post -> MDSET_POST.${filename}, and don't do
  suffix handling here
- rework suffix handling:
	- rename MDSET.${filename}.suffixes -> MDSET_SUFFIXES.${filename},
	  and change from list of suffixes to list of "suffix cmdtobuildsuffix",
  	  where cmdtobuildsuffix is the name of the variable containing the
	  command to build ${filename}.${suffix} (available as "${.TARGET}").
	- for each ${filename}.${suffix}, depend upon ${filename} and use
	  ${cmdtobuildsuffix} to create the former.
	- add separate ${filename}.${suffix}.gz rule
- mipsco & pmax: rename "install.gz" to "netbsd-INSTALL.gz", for
  consistency and so the target to build the mdset kernel doesn't get
  confused with general "install" target
2002-05-08 21:44:53 +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
lukem 9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
lukem cebd049d6c no need for test,[ . reorder some items 2002-04-13 12:55:50 +00:00
tv fc190c8b31 Get termcap from the right place: ${DISTRIBDIR}/mac68k/miniroot/termcap. 2002-04-13 04:14:21 +00:00
lukem 0dfdd76021 Makefile.mdset:
replace
		TARGETS = KERNEL IMAGE [...]
	with
		MDTARGETS = KERNEL IMAGE FILENAME [...]
	If FILENAME is "-", use "netbsd.${KERNEL}" as the target filename

The rest:
	Update for new MDTARGETS syntax.  In some cases, the kernel
	name from the "old" method will be used to override the default.
2002-04-12 13:39:43 +00:00
lukem 627174f862 - don't pull in <bsd.prog.mk> in Makefile.mdset; do that in the caller instead
- renamed optional post-strip action variable from ${KERNEL}.post to
  netbsd.${KERNEL}.post
2002-04-12 05:33:58 +00:00
lukem a99fe4fd61 use ${DISTRIBDIR} appropriately 2002-04-12 03:26:57 +00:00
lukem 8bd1df21b5 explicitly pull in distrib/Makefile.inc 2002-04-11 15:46:33 +00:00
lukem f8d9614523 .WAIT sync 2002-04-11 15:45:37 +00:00
lukem fe5992eead convert to using distrib/common/Makefile.mdset 2002-04-11 15:34:52 +00:00
lukem a4c28af75d take advantage of TARGETS+=release 2002-04-10 01:31:50 +00:00
tsutsui ebf5fffe65 Set DBG=-Os for libhack. 2002-04-06 18:16:09 +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 e404412bf1 in New Distrib World Order, don't need init_s, x_dd or x_sh 2002-03-24 23:10:11 +00:00
lukem 0c0b30168f add missing IMAGEDEPEND 2002-03-24 23:05:12 +00:00
lukem 006297f9da use src/distrib/Makefile.inc, removing obsolete version here 2002-03-24 13:38:14 +00:00
lukem e132d32d8e remove unused files 2002-03-24 13:20:09 +00:00
lukem 2a593e4ce5 remove now-unnecessary files 2002-03-24 00:16:05 +00:00
shiba 438f1acec7 Switch to the new common ramdisk build infrastructure.
Reviewed by briggs,fredb
2002-03-23 16:38:50 +00:00
lukem a8025d95ae Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
  crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
  as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
  common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
  host tool versions of installboot and any appropriate host disk labelling
  tools.
	XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
  It should work, but it is extremely likely that the file system
  parameters may need tweaking to get things to fit.
  See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
  If assistance is required, please ask!
2002-03-06 12:04:48 +00:00
thorpej 1d1d02da94 Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used. 2002-03-05 21:23:28 +00:00
thorpej 22a7a11f35 Use ${PRINTOBJDIR}. 2002-03-05 20:41:28 +00:00
shiba c6fac1444f Clean up make release procedure. But just make through
in distrib/mac68k/miniroot.

Reviewed by fredb, briggs
2002-03-04 16:43:06 +00:00
lukem 811d644d8f don't set the owner or group when installing into $RELEASEDIR 2002-02-09 13:56:48 +00:00
wormey cef7fb637b Fix from Takeshi Shibagaki (ie9t-sbgk@asahi-net.or.jp):
(effect of)  fixed a bug when it makes install image.
(reason for) We cannot apply to newfs no disklabel device, so must
             write temporary disklabel. refer to i386.
2002-02-05 23:10:02 +00:00
wormey cf2b6407b6 mdsetimage doesn't have a -T option; remove it 2002-02-03 19:59:30 +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