Commit Graph

242 Commits

Author SHA1 Message Date
christos a672382c55 adjust miniroot scripts to deal with the time prefix in dmesg 2019-04-10 14:52:53 +00:00
christos eca4585910 modernize, and avoid -a -o 2019-04-04 21:00:19 +00:00
gson c2b3070712 Use the special device name "ROOT." in /etc/fstab not just on the arm
images, but also on the bootable disk images of other ports, so that
they can be booted from differently named devices.  Merge the i386 and
amd64 -live-sd0root and -live-wd0root images into a single live image
per port, bootable both from usb media and in qemu.  Drop the -xx0root
suffixes from image names as they are no longer meaningful.
2018-12-15 18:03:16 +00:00
martin 0e857c5e1f Now that we do not force debug sets off install CDs any more, explicitly
set CDRELEASE_NODEBUG everywhere.
2018-09-28 15:05:19 +00:00
joerg 6b47d89f52 Bump image size again for new bloat. 2018-03-29 13:25:11 +00:00
joerg 270cef65ef Bump the miniroot size slightly for clang. 2017-07-23 19:00:22 +00:00
joerg 69a2ab8761 Bump the ram disk and miniroot size slightly for clang. 2017-02-09 18:15:07 +00:00
christos 009f8e31d2 += for MAKEFS_FLAGS 2017-01-24 18:04:01 +00:00
joerg 1230251f55 Bump image size a bit for the clang build. 2017-01-10 13:35:44 +00:00
joerg 02a86ed763 Give Clang a bit more room in the miniroot. 2016-06-03 15:44:50 +00:00
joerg 130c60b85a Bump miniroot size slightly from 9216KB to 9360KB for clang. 2016-02-27 18:53:37 +00:00
joerg a939e992b2 For clang, optimize both ramdisk and miniroot for minimal size and skip
frame pointers where possible.
2016-02-27 18:52:51 +00:00
martin dd29c6c2e1 Revert previous untill fallout has been fixed. 2015-05-19 06:58:52 +00:00
martin 0298cca26c Add a new simple method to put whole sets on CD images (instead of
listing single binaries or patterns) and use those for the existing
ISO images.
2015-05-18 06:25:04 +00:00
martin 94484d35aa Bump miniroot size 2014-08-04 13:09:42 +00:00
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
tsutsui 7be7385533 Allow overriding live-image and install-image sizes by
INSTIMAGEMB (for install-images), USBIMAGEMB (for x86 sd0root liveimages),
and EMUIMAGEMB (for other liveimages) variables.
Per discussion on current-users@:
http://mail-index.NetBSD.org/current-users/2012/10/29/msg021368.html
2012-11-03 14:25:32 +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
riz b053ad40a5 Change the naming scheme of "live" images and usb install images
to incorporate the OS name and version.

XXX should also not hardcode ${BOOTDISK} in the name, but that would
require reordering stuff and more testing than I have time for right now.
Another day.

As discussed on current-users@ back in March, with some adjustments.
2012-08-17 16:56:34 +00:00
martin 87ec685886 Disable generation of boot floppy images for sparc, which do not fit on
floppy disks anymore, to unbreak the build (for now).
If someone feels like adding and testing ustarfs support in the floppy
/boot, please reenable again.
2012-03-14 13:26:43 +00:00
tsutsui 3cf69f27e2 Add "live-image" and "install-image" target support to build.sh.
"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
 msdosfs or partitioning MD label structures) support this target.

"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.

For more details (and known issue) see following posts on netbsd-bugs@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

No particular comments about implementation, and
"go ahead" comments from mrg@, riz@ and christos@.

Closes PR toolchain/45153 and PR misc/45155.
2012-01-22 03:53:29 +00:00
jmcneill 4b2d521801 use ${CDIMAGE} instead of ${CDBASE}.iso 2012-01-15 22:34:33 +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 93bd1a122c Use /dev/fd0a rather than /dev/rfd0a to read instfs.tgz image from floppy.
It looks newer (appearred after 1.6) gzip tries to read less than DEV_BSIZE
(to check header?) so we can't use raw device directly.
(note sparc bootfs ramdisk doesn't have dd(1))

Workaround for PR port-sparc/42193, and would also fix PR install/28734.
2009-12-24 14:56:14 +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 5cd328a195 Add -lprop to the ramdisk build, so that it builds again, due to
recent changes in newfs.  Bump the ramdisk size from 1536 to 1800
blocks as a consequence.
2009-06-09 11:06:09 +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
matt 0ab08b46df Increase RAMDISK size due to ever-increasing bloat. 2008-06-25 03:33:06 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +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
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
lukem c434d47afe Remove references to xcontrib and xmisc now that they've been merged
into xbase.
2004-01-17 05:30:01 +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
pk edb01b1198 Pass explicit device to eject(1), since it doesn't know about the floppy
driver's "partition" scheme..
2003-07-11 12:16:56 +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 6107a9b605 crank memory disk from 1360 blocks to 1376 blocks 2003-03-08 00:04:36 +00:00
lukem 10d98f9c78 Add some magic with ${SUNLABEL} into ${IMAGEPOSTBUILD} (after ${INSTALLBOOT}
runs) to ensure that boot.fs has a valid Sun disklabel.

Sparc boot floppies now boot.
2002-12-21 13:01:20 +00:00