Commit Graph

67 Commits

Author SHA1 Message Date
nakayama
605add88bb nvi has moved. 2013-11-30 08:27:17 +00:00
joerg
820c9d565a Explicitly build space constrained ramdisk images without unwind tables. 2013-08-12 16:31:28 +00:00
mrg
ff92b94bd8 add ipty to the list of MAKEDEVTARGETS. should fix PR#46812.
certainly makes the qemu/sparc install work for me with netbsd-6.

XXX: pullup.
2012-08-18 09:33:25 +00:00
njoly
8de7333d7f Switch from COPYDIR to COPY/LINK when populating usr/mdec directory, to
avoid file duplication.
2011-11-18 21:32:46 +00:00
tron
df862fd957 Update location of "less" source directory to the build of various
install medias.
2011-07-03 23:11:31 +00:00
tsutsui
38b1a5293d Remove obsolete message:
'If you are using a SUN type 4 keyboard, please enter "sun-type4".'
2010-09-25 14:30:34 +00:00
tsutsui
396e67e677 Use vt100 rather than sun for $TERM.
The latter one is not supported by the hardcoded libterminfo fallback
without external database.
2010-09-25 14:29:13 +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
tsutsui
63b86ac36f Build miniroot binaries for sparc with -Os to shrink instfs.tgz
for the second boot floppy which use miniroot objects.

This is workaround for PR install/42146, and ok'ed by mrg@.
2009-10-17 12:45:20 +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
he
7f447b4ade The sparc miniroot actually doesn't use "file" anymore to distinguish
between a.out and ELF objects, so omit the now no-longer-present "magic"
file (deprecated after latest "file" update).
2009-06-01 13:06:03 +00:00
tsutsui
356ea0a687 usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
chs
c5920793e6 change the old pre-sysinst install.md script to not need file(1)
and take that program and its associated "magic" database
out of the miniroot image.  fixes PR 32379.
2006-02-07 16:52:16 +00:00
sjg
e000118700 Bump the miniroot size else release build fails. 2004-06-13 05:27:18 +00:00
pk
0a9d8ee3e8 mout_mfs needs explicit size parameter; set it to 1MB. 2004-03-26 15:27:56 +00:00
martin
5b8e6dd82f Since common/miniroot/list now includes -lz, no need to add it here
anymore. Noticed by Izumi Tsutsui.
2003-12-28 13:00:47 +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
martin
6060607b3f Add sun-type4 termcap entry and a hint to use this as TERM when using
a Type 4 keyboard.
2002-10-08 20:29:58 +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
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
grant
89d9e55136 libz is needed for usr.bin/file/compress.c v1.11 2002-05-26 12:16:56 +00:00
lukem
094e12e661 consistently use "${INSTALLBOOT} -v ..." 2002-05-14 06:21:20 +00:00
pk
5a355629e8 Add crunched /usr/sbin/installboot. 2002-05-07 12:46:19 +00:00
pk
e1040e5831 Increase IMAGESIZE. 2002-05-07 11:35:44 +00:00
pk
41cb0397f6 Use MI installboot(8) program in ${IMAGEPOSTBUILD}. 2002-05-07 11:34: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
lukem
53f41a1d9d use ${WORKDIR} instead of ${TARGETDIR}, since the latter is only valid
within parselist.
2002-04-26 03:49:21 +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
380bba0606 use TARGETDIR instead of TARGDIR 2002-04-10 14:44:02 +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
91c57b31d0 rcsid 2002-03-10 20:23:28 +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
chs
5192c64824 miniroot is out of space, use the ramdisk termcap file in the miniroot too
so that it fits again.
2002-01-01 18:51:40 +00:00
jmc
5d433ad17d Change to pass file image to binstall so it can be built in securelevel > 0 2001-02-19 06:25:39 +00:00
pk
3a328aff50 Do not reset the baud rate to 9600. 2001-01-16 10:40:53 +00:00
tv
1b4a4e04a5 Sysinst is no longer "experimental"; it is default on all platforms that
ship it.  Make the (I)nstall option invoke sysinst.
The old install and upgrade scripts are still available, for now, under
OI and OU.  Add note that these may be removed in a future release.
2000-11-29 03:06:18 +00:00
pk
2168a74f89 Add file(1); we use it to determine the shared library type. 2000-11-17 18:01:41 +00:00
pk
b05c4f8ba0 * Add code to start sysinst with a writable /tmp directory (a necessity if the
root is on a CD).
* When returning from an escape to shell, stay in the main loop.
2000-10-31 21:09:22 +00:00
pk
f495c4188d Put a GENERIC kernel in the miniroot, to retain consistency with the
tape, floppy and cdrom images.
2000-10-31 21:02:18 +00:00
pk
9cbad565fe Note existence of sysinst. 2000-10-20 11:43:57 +00:00
pk
3dc8d00362 * Add bin/rcmd
* Make sysinst `obsolete' sets
* Simplify running dev/MAKEDEV
2000-10-20 11:42:43 +00:00
pk
79e78efd1c /kern can go since dmesg now uses sysctl() to get the kernel's msgbuf. 2000-07-08 11:32:05 +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
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
sjg
591dd83065 use KERNOBJDIR if set 2000-05-02 13:59:20 +00:00
pk
cd055bb539 sysctl is now in /sbin 2000-02-07 11:07:19 +00:00