Commit Graph

180 Commits

Author SHA1 Message Date
snj a3e31bf1fb Update version number examples for the post-2.0I world. 2010-02-07 18:50:49 +00:00
roy bb3a353864 Use the rescue terminfo.db in our images instead of termcap. 2010-02-05 10:01:16 +00:00
abs b5fa4b8f63 update to generate something closer to common/termcap 2009-10-21 11:35:19 +00:00
christos 6964e246ca Exit with 1 so that we stay in single user mode when sysinst exits with 'x'.
Otherwise things get messed up (no /dev). From Anon Ymous
2009-09-25 14:09:27 +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 2383b0ce8e Ten identical list.inet6 files, or one common/list.inet6?
Not a difficult choice.
2009-09-20 22:50:50 +00:00
abs 52f8f0673d Move sun2, sun3 & x68k across to the common distrib etc/services, and
while here reduce it from 1180 to 794 bytes (whitespace & comment cleanup)
2009-09-20 19:41:35 +00:00
abs d2e3664387 Merge four separate copies of list2sh.awk runlist.sh (three identical
and one with slightly less options). Release build verified on amiga,
bebox and evbsh3. Vax build fails for unrelated reason.
2009-09-18 09:24:58 +00:00
apb 91fe922f05 Add LINKSOWN, LINKSGRP, and LINKSMODE variables for use by bsd.links.mk
when installing hard links.  They have no effect except when using a
metalog, in which case the information is added to the metalog.  In
the future, these variables may be replaced by a method for explicitly
recording hard links in a metadata log.

Also change a few things that called ${INSTALL_LINK} without going
through bsd.links.mk.

Reviewed by perry and joerg.  This should fix PR 24457 and PR 41155.
2009-04-10 16:16:12 +00:00
joerg 4764c235e5 Change ramdisks from dhclient to dhcpcd and add corresponding glue to
sysinst. For amd64, the crunchgen binary shrinks by 150KB uncompresssed,
60KB compressed.
2009-04-07 11:49:16 +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
christos 41a1a6cc14 reduce syscalls 2008-12-22 18:58:22 +00:00
tsutsui 0e53a56713 Regen (add RCS Id). 2008-12-22 18:46:41 +00:00
tsutsui dbaf5f36b6 - add RCS Id
- put RCS Id strings to output
- generate termcap.mini directly rather than via stdout
2008-12-22 18:46:02 +00:00
hubertf 2aea62cc33 Work around another bunch of places where Solaris' /usr/xpg4/bin/sh
can't handle for-loops with no arguments ("for foo in") which result
from empty make-variables.

One step further in getting NetBSD cross-compiling from Solaris 10/x86.

Tested on the netbsd-5 branch.
2008-12-02 10:06:00 +00:00
ad b58caf3fac - Add CDRUNTIME variable that copies files from ${DESTDIR} onto the CD.
- Add image_md_pre target.
2008-11-21 14:49:45 +00:00
apb 9d00c955d4 In buildfloppies.sh:
* Add a "-N etcdir" command line option, defaulting to /etc.
* Use pax in mtree mode.  This is the same idea as the change made in
  revision 1.14, with the following changes:
    + use ". type=dir optional" instead of just ". type=dir", so the
      output will not contain an explicit entry for the directory.
    + Explicitly set type=file and mode=0444 in the mtree lines.
    + Pass "-N ${etcdir}" to pax to make it use the correct passwd and
      group files.
    + Pass "-s^./,," to pax to make it strip the leading "./" from file
      names.

In Makefile.tarfloppy:
* Pass "-N ${DESTDIR}/etc" to buildfloppies.sh.

The resulting flopies have been verified to be identical to those
produced by version 1.13 of buildfloppies.sh, except that file owners
and modes are changed.
2008-11-12 14:22:16 +00:00
dbj 5050c64459 roll back to revision 1.13 until problems mentioned in
PR 39894
can be figured out.
i suspect we can add "boot" to the mtree input, but experimentation
needs to happen first.
2008-11-11 19:55:21 +00:00
dogcow f3440efb4c If you really want to hardcode to a gid/uid, then use the numeric ones;
"wheel" doesn't exist across all unix-like systems.
2008-11-10 02:10:52 +00:00
dbj 35bfa1ebbd avoid full path to boot.cfg file when building amd64 boot floppy
share code with i386
2008-11-04 23:02:52 +00:00
dbj 23fafc624b use an mtree template when building floppies to avoid local uid/gid in image 2008-11-04 23:01:04 +00:00
apb f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
apb 96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
agc 1aa0a071e2 Implement, and document, an ugly hack which allows cross-building of
NetBSD on Darwin - Mac OS X Leopard - to complete successfully

	hack   cross-building hack on Darwin
	mdate  20 July 2008
	who    agc
	file   src/distrib/common/Makefile.mdset       : 1.33
	descr
	       Darwin has problems with getopt() when used in mdsetimage -v,
	       due to the difference between BSD and libiberty() getopt
	       implementations, more fully described in
	       http://mail-index.netbsd.org/current-users/2008/06/27/msg003242.html
	       and the subsequent thread.  For just now, we just have an ugly
	       workaround not to call mdsetimage with the -v argument on Darwin
	kcah
2008-07-21 10:00:51 +00:00
matt 7cd6f44757 Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
2008-06-23 02:16:53 +00:00
matt b3139d33db Change MACHINE to RELEASEMACHINEDIR 2008-06-23 02:09:29 +00:00
rafal 6dfc4ff323 Add 'xterm' and 'ansi' to termcap.mini (and the mktermcap script which is
used to generate it), use termcap.mini in evbarm ramdisk (vs. the full
termap DB) which frees up a bit of room to add dhclient and cu.
2008-05-21 18:05:29 +00:00
tsutsui 44aaaba704 Fix tyop. 2008-05-03 05:08:45 +00:00
ad 59978d093b Put the GENERIC kernel onto i386 installation CDs and load a kernel module
from the boot loader to provide the miniroot.
2008-05-02 23:13:05 +00:00
garbled 890832bb43 Add a stripped down protocols file, similar to how services was done. If
you use this instead, you save about 21k on the install media.
2008-05-01 22:02:54 +00:00
garbled 9ce0927805 Create a litle script to generate a stripped down protocols file. 2008-05-01 22:01:16 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
rafal 86e129f0e6 Add 'sunrpc' so mount_nfs from an install ramdisk works. Otherwise, you get
a silent failure from the ramdisk mount_nfs binary.
2008-04-11 12:54:35 +00:00
christos 6ad6f673b0 add a script to generate the mini-termcap and use it. 2008-02-02 21:02:29 +00:00
tsutsui 8dcb83c8d0 Remove an entry for obsolete pccons. 2008-02-01 13:46:26 +00:00
tsutsui d92ad10bca Move and share a common termcap.mini file. 2008-02-01 13:43:11 +00:00
sborrill 14df52fe64 Add support for CDBUILDEXTRA which acts like CDEXTRA to add extra items
to the CD-ROM image.
Make CDEXTRA and CDBUILDEXTRA be able to contain lists of files and directories
which are added in turn.
Add support for CDEXTRA_SKIP which contains a list of fnmatch(3) items to
skip during the copy. This is _very_ useful for skipping CVS dirs for example.
CDBUILDEXTRA and CDEXTRA_SKIP are to be used in Makefiles creating the images,
CDEXTRA remains to be used from build.sh.
Update documentation and build.sh help text to show that -C can be used to
specify a list of files and directories rather than just a single dir.
2007-11-23 16:19:28 +00:00
sborrill e14a5d3249 Fix some typos and note that bootxx_cd9660 can load from a path name longer
than 8 chars.
2007-11-20 16:12:50 +00:00
chris 5e02e37306 Fix bug which causes cats builds to not produce an a.out install kernels,
which are needed to boot from Cyclone firmware.

Bug reported on port-cats mailing list:
http://mail-index.netbsd.org/port-cats/2007/09/08/0000.html
2007-09-08 14:25:09 +00:00
jnemeth 28af2a6c6b add CDEXTRA for specifying a directory of extra stuff to put on a CD 2007-08-31 14:20:29 +00:00
jnemeth 44f91e0e38 cd to previous directory after copying files so subsequent copies won't fail 2007-08-30 04:27:04 +00:00
skd 1e30d70843 /libexec, not /usr/libexec. 2007-08-24 17:11:58 +00:00
skd e066a10613 Enable LFS from sysinstall. 2007-08-21 02:20:55 +00:00
he 9f3262d205 After ${_FILENAME} got assigned its value when it's "-", we can
no longer use it as a copy of ${_F} in the subsequent test for
additional targets under the MDSET_SUFFIXES test.

This brings back builds of srec & bin files for evbarm and img
files for evbppc.
2007-06-07 15:12:34 +00:00
dogcow 107a17be60 As Jukka Salmi pointed out, the previous version had duplicated lines;
this is because I committed the wrong (and much larger) version of the file.
Oops.
2007-05-11 18:52:46 +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
christos c2d75511d9 Add CDSOURCE variable to include the source in the CD. From Anon Ymous
Misc cleanups
2007-04-11 16:21:40 +00:00
bouyer 541b5a90c5 Improve the use of makefs to build boot CDs, and make it truely MI:
- allow to specify the "instkernel" directory, and allow to put multiple
  kernels on the image
- allow to specify the directory where the image will be created
- only use bootxx_cd9660 if it exists
- search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to
  usr/mdec/boot
- make 'installboot -e' optional
- use target 'release' or 'iso_image' depending on ${CDRELEASE}
- call some MD targets, which will eventually complete the file list or
  make the image bootable
2007-03-06 21:38:29 +00:00
apb 305d6c91e1 MAKEDEV.subr no longer exists. Don't install it in any ramdisk
or miniroot images.
2007-03-03 06:40:05 +00:00
apb b3a537ff41 ${DESTDIR}/dev/MAKEDEV.subr -> ${MAKEDEVSUBR} 2007-03-01 09:22:28 +00:00