Commit Graph

88 Commits

Author SHA1 Message Date
tron
df862fd957 Update location of "less" source directory to the build of various
install medias.
2011-07-03 23:11:31 +00:00
tsutsui
800a8fccb7 Remove unnecessary gnu/usr.bin path from SRCDIRS. 2011-06-19 06:44:04 +00:00
abs
6c6ab6a995 Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change
2010-03-10 23:13:09 +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
tsutsui
ec5b1733ef No need to install /usr/share/zoneinfo into miniroot
because libc functions in libhack doesn't require it and
zoneinfo files seem to get larger since tzcode2009k import.
(due to 64bit time_t support?)

Briefly tested sysinst on sparc miniroot.
2010-01-02 06:46:09 +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
tsutsui
1bdd710904 Fix indent on common/protocols changes. 2009-04-29 18:20:00 +00:00
abs
7a3d39395e Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
2009-01-25 22:08:37 +00:00
tsutsui
356ea0a687 usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
he
30e1f3f935 Bump ramdisk size to compensate for recent bloat. 2008-05-14 08:08:31 +00:00
dyoung
fdf6250eac Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
martin
4b207265cb Fix copy&pasto in license text and move to 2 clause 2008-05-02 18:31:11 +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
he
cdb8aaf716 Bump ramdisk size from 800k to 900k so the contents fit again. 2004-05-21 15:25:18 +00:00
he
d254421a40 Adapt to the replacement of gawk with nawk, source accessible as awk. 2004-04-02 23:04:37 +00:00
salo
8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
he
9042681cbb Rewrite the MD install script to use awk instead of grep, since
trying to include grep in the miniroot currently causes a build
failure, ref. PR#20431.

Also correct a typo/inconsistency "no disk label" -> "no disklabel"
(the disklabel program is not consistent in it's use...), here we
just compensate.

Reviewed by Steve Woodford.
2003-03-07 17:00:22 +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
lukem
1cf21a4eeb as COPYDIR copies files with 444 permissions, we need to explicitly
add MTREE entries to change the permissions of executable programs
such as usr/mdec/installboot and usr/mdec/binstall
2002-06-12 22:59:31 +00:00
scw
9a6d0e4b4c Ensure the miniroot copy of /usr/mdec/installboot is executable. 2002-06-05 09:43:21 +00:00
lukem
2bc49b8d2a don't bother copying or generating etc/spwd.db, as the miniroot was
switched to libhack a little while ago
2002-05-29 04:11:01 +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
3b9a95c129 remove bin/echo; it's builtin to bin/sh
consistency cleanup
2002-04-13 13:42:05 +00:00
lukem
7ef76804ef unused 2002-04-12 14:01:27 +00:00
lukem
56ea818006 minor NDWO consistency tweak 2002-04-12 13:59:32 +00:00
lukem
84ae590202 whitespace tweak 2002-04-12 13:58:08 +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
983821fd73 - replace image_md_post: target with IMAGE_MD_POST variable, and use
that after building ${IMAGE}
- use ${IMAGEBUILT} to ensure that IMAGE_MD_POST is only run if IMAGE changes
2002-04-12 03:21:09 +00:00
lukem
fe5992eead convert to using distrib/common/Makefile.mdset 2002-04-11 15:34:52 +00:00
scw
4ef994a10e Don't bother making/installing the kernel symbol table. 2002-04-10 18:56:37 +00:00
lukem
0476c683f0 replace BSDSRCDIR with _SRC_TOP_, since the latter is more likely to
be "accurate".  document _SRC_TOP_.
2002-04-10 15:05:41 +00:00
tsutsui
ebf5fffe65 Set DBG=-Os for libhack. 2002-04-06 18:16:09 +00:00
scw
6a327b2f70 From lukem: Fix the lack of inodes problem a slightly different way.
[Although the real cure is to fix makefs(8).]
2002-04-03 19:23:08 +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
4bd6b3cf5e as this uses libhack, copy in a useful etc/master.passwd rather than
an unused etc/passwd
2002-03-26 01:12:36 +00:00
scw
6d5da55a5a Make sysinst the default installer, with the option of falling back
to the old shell-script installer. Based on the sparc dot.profile.
2002-03-25 21:14:32 +00:00
scw
64b9487395 Add MAKEFS_FLAGS, as suggested by Luke Mewburn. This fixes a problem
with a lack of inodes on the miniroot image.
2002-03-25 21:12:51 +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
8a2e75e489 don't need x_sh in NDWO 2002-03-24 23:12:34 +00:00
lukem
50070328cc - use ${_SRC_TOP_} instead of ${CURDIR}/../../../ [../../]
- fix IMAGEDEPENDS; it should contain at least all the COPY items from list
2002-03-24 22:44:21 +00:00