Commit Graph

60 Commits

Author SHA1 Message Date
tsutsui 800a8fccb7 Remove unnecessary gnu/usr.bin path from SRCDIRS. 2011-06-19 06:44:04 +00:00
tsutsui 7e57c1a44f Adjust file lists for recent move:
usr/sbin/chown -> sbin/chown
 usr/bin/chgrp  -> bin/chgrp
2011-01-14 10:26:28 +00:00
roy 0adc6cef21 Remove terminfo.db as it's now embedded in libterminfo. 2010-02-11 09:06:47 +00:00
roy bb3a353864 Use the rescue terminfo.db in our images instead of termcap. 2010-02-05 10:01:16 +00:00
he 8a59b02128 Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap.  Hi, abs@!
2009-09-24 21:04:45 +00:00
abs 2108b54359 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi			ansi/pc-term compatible with color
dumb|unknown		80-column dumb tty
hp300h			HP Catseye console
iris-ansi-ap		IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net	IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il	Sun Microsystems Inc. console with working insert-line
vt100|vt100-am		DEC VT100 (w/advanced video)
vt220-8			DEC VT220 8 bit terminal
vt220|vt200|vt300	DEC VT220 in vt100 emulation mode
wsvt25			NetBSD wscons in 25 line DEC VT220 mode
wsvt25m			NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite		NetBSD/x68k ITE
xterm|vs100		xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
2009-09-20 23:19:50 +00:00
abs bdf4da2bba Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
2009-09-20 22:46:10 +00:00
abs 6f653b39ef ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
2009-09-20 19:49:07 +00:00
abs 7fb2fc21e2 Of the arious list files 28 said
PROG   usr/bin/gzip    usr/bin/gzcat usr/bin/gunzip
while 14 picked
    PROG   usr/bin/gzip    usr/bin/gunzip usr/bin/gzcat

Make them all choose the former. No functional change.
2009-09-18 10:49:08 +00:00
perry 58e0c54cf3 Consistently use gzip with the -n flag so dates are not embedded.
Not tested on all platforms.
2009-04-03 22:36:34 +00:00
matt 7cd6f44757 Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
2008-06-23 02:16:53 +00:00
dyoung fdf6250eac Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
garbled cc7a9bfb3c Switch to using x_ed and x_umount. x_mount didn't save much, but x_ed
saved alot:  1516140->1503104.  28k to go, and running out of ideas.
2008-05-01 23:23:23 +00:00
garbled 889060cb8a Update to point to the cut-down version of protocols 2008-05-01 22:44:23 +00:00
garbled 01e0801fb8 Use the generated protocols file. Save another 20k or so. 2008-05-01 22:03:58 +00:00
garbled 82b40b9f32 Delete glasstty lpr and vt52 entries. 2008-05-01 21:32:23 +00:00
garbled ec2ea43eb7 This file is nothing but comments. Trim it out to a stub. 2008-05-01 21:27:46 +00:00
garbled 4ad2d863e8 Remove mount_kernfs from the prep install floppy. Saves a few bytes, we
already put dmesg on there, and the prep install kernels don't have KERNFS
defined anyhow.  A quick test shows it's cheaper to use dmesg than kernfs:

1528511         +kernfs +mount_kernfs -dmesg
1524332         +dmesg -kernfs -mount_kernfs
2008-05-01 21:20:54 +00:00
garbled c3408ed04a Convert prep to use the new unified mkbootimage rather than it's own. This
mkbootimage can be shared by prep, rs6000, and bebox.

TODO: Convert bebox to use this.  Needs someone to test.
2008-04-30 21:15:33 +00:00
garbled 9789cfe276 Bootable CD support for prep. Finally. 2008-04-30 08:08:32 +00:00
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
bouyer fee07bcfd4 Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.
2007-03-06 21:56:47 +00:00
garbled e8a461299e Add INSTALL_SMALL here as well, otherwise we break the build. Thanks to
he for catching this.
2006-06-21 09:25:27 +00:00
garbled 5e21fd7369 Add support for the SMALL install image on prep 2006-06-20 17:40:36 +00:00
garbled 6a38d9365a Make the ramdisk a little bigger 2006-06-01 21:15:30 +00:00
garbled b1e7b0cf85 I changed the ramdisk size in the kernel, but failed to change the size
of the ramdisk image.  Thanks to he for catching this one.
2006-05-11 17:23:18 +00:00
garbled d4b8293191 Remove tip from prep's install media. We just don't have the room on
prep for that.
2006-05-09 20:57:19 +00:00
garbled 21bc41f1ad Modify these makefiles to use the new mkbootimage.. hopefully I got this
right.
2006-03-23 18:51:19 +00:00
dsl f9535a65ed Delete the:
SPECIAL        dmesg           srcdir  distrib/utils/x_dmesg
line from all the ramdisk 'list' files.  dmesg/Makefile will add -DSMALL
if SMALLPROG is defined (which it is by Makefile.crunch).
2005-09-10 13:09:01 +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
salo 8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
lukem a250e57c96 Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
2003-01-03 15:34:30 +00:00
lukem c7ad6e6337 Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX". 2002-11-18 12:39:43 +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
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 67331f09d5 improve how gzipping is done to reduce amount of temp files, etc. 2002-05-08 07:57:09 +00:00
kleink 4d58285e06 Use $PREPMKBOOTIMAGE. 2002-05-03 20:54:18 +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
kleink e10975f88e Remove duplicated sysinst entry. 2002-04-16 20:52:44 +00:00
lukem 4b2f7bd0e9 NDWO cleanup 2002-04-12 14:52:57 +00:00
lukem b377d4a3fc unused crap 2002-04-12 14:52:04 +00:00
lukem ee960581cd convert to NDWO 2002-04-12 14:44:39 +00:00
lukem 8e8cb0d464 convert to new distrib world order.
xxx; untested
2002-04-12 14:40:53 +00:00
lukem 0462536a23 .WAIT sync. whitespace cleanup 2002-04-12 14:09:40 +00:00
lukem 981a853952 TARGETS+=release 2002-04-12 14:07:37 +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