Commit Graph

163 Commits

Author SHA1 Message Date
mrg
43051be004 bump image size for pmax64 builds. 2020-09-07 09:05:10 +00:00
mrg
5f6277270e bump image from 3000k to 3.5M. thanks, time. 2020-08-16 11:43:36 +00:00
martin
a879768d74 PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
2020-01-09 19:17:40 +00:00
christos
128e5f5e67 1. Remove all the special handling of variables (-d -p -P -s -S) that
were dealing with DBG (-d) LDSTATIC/NOPIE (-p), and the rest with
   disabling/enabling sanitizers.
2. Use emalloc/estrdup for all the allocators instead of only some cases.
3. Add -V varspec which passes variables on the command line (as DBG
   and LDSTATIC used to be passed before) instead of appending them
   to the on-the-fly Makefile using -v varspec.
4. Change the distrib and rescue Makefiles to use -V instead of the removed
   flags.

The motivation of this is to make variable handling consistent, less magical,
and remove the need for changing crunchgen each time we want to add disabling
an option by default.

(as proposed in tech-toolchain)
2019-12-29 18:26:16 +00:00
christos
7e81d727bc Consistently use ${RELEASEDIR}/${RELEASEMACHINE} instead of
${RELEASEDIR}/${MACHINE} (Paul Ripke)
2019-09-23 13:42:30 +00:00
martin
0ce0a2fa8f Bump ramdisk slightly (non MKREPRO builds with long paths fail otherwise) 2019-06-26 07:33:19 +00:00
christos
7309e53737 bump 2019-04-07 20:28:55 +00:00
christos
4a154d606e Give us a bit of breathing room since the calculated size of mkfs is not
working.
2019-04-03 11:29:39 +00:00
christos
6772b6ffe7 need bigger clothes 2019-04-01 02:02:54 +00:00
christos
ad94cd5960 Bumpity bump bump 2019-03-29 16:06:28 +00:00
gson
7f592895ee Bump pmax install ramdisk size by another 100k, as 3500k is no longer
enough with GCC 7.
2019-02-13 07:55:33 +00:00
christos
8adbf7c67a Rename ELF2ECOFF -> MIPS_ELF2ECOFF 2019-01-01 19:09:12 +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
mrg
67c67975c6 bump image size for gcc 6 bloaty mc bloat face. 2018-02-22 07:21:10 +00:00
christos
f770f4ce9a Give us a little room, too much potato chips. 2017-07-16 14:24:29 +00:00
christos
009f8e31d2 += for MAKEFS_FLAGS 2017-01-24 18:04:01 +00:00
mrg
5c35f0bcf2 it's called netbsd-INSTALL64.gz for pmax64. 2013-12-13 10:27:56 +00:00
nakayama
605add88bb nvi has moved. 2013-11-30 08:27:17 +00:00
mhitch
421f8ba1fb Bump size of image. 2013-02-25 16:52:57 +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
tsutsui
fe248d00b2 Fix PR install/47123 (sysinst fails with "openpty() failed" on many ports):
Add "ipty" to MAKEDEVTARGETS in miniroot/Makefile.inc since "MAKEDEV all"
 no longer creates /dev/pty* device nodes and miniroot doesn't mount ptyfs.
2012-10-26 18:15:55 +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
5f9bff29ea Change all install media to use ipty instead of pty0 2012-08-14 07:24:40 +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
tsutsui
42f3f96fed Remove unnecessary gnu/usr.bin path from SRCDIRS. 2011-06-19 02:25:45 +00:00
tsutsui
efc2552edb Use src/distrib/utils/x_gzip in all install ramdisks/miniroots for now
since installation file systems might be flooded by -llzma.
2011-06-19 02:18:28 +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
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
matt
1819481222 Merge from matt-nb5-mips64 2009-12-14 01:11:02 +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
5edb620617 Alas poor dot.hdprofile. I knew him... not at all Horatio. (Remove) 2009-09-20 19:29:24 +00:00
tsutsui
2131e68dd1 Put /usr/mdec/bootxx_ffsv2 into install ramdisk. 2009-04-22 11:18:29 +00:00
he
f15a4a6620 Bump the size of ramdisk and diskimages, so that what needs to
be put there still fits.
2009-01-18 12:51:25 +00:00
tsutsui
323d1f8f3d Use shrinked src/distrib/common/protocols rather than fat src/etc/protocols. 2008-11-30 04:18:14 +00:00
tsutsui
356ea0a687 usr.bin/vi/build -> usr.bin/nvi/build 2008-10-30 12:39:16 +00:00
dyoung
fdf6250eac Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +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
ad
d8360081f7 Remove RASTERCONSOLE support from the pmax port. 2006-07-29 19:10:56 +00:00
tsutsui
920fcf7c8c Use -mmemcpy. 2006-01-16 14:53:46 +00:00
he
e643e92c49 Bump image size from 2m to 2100k so that it fits again. 2006-01-16 00:16:44 +00:00
he
b0a1d8f11d Increase the pmax ramdisk size with 100KB, so that the contents
fits again.
2004-10-15 15:06:37 +00:00
he
b22e6a658e Bump size of ramdisk image from 3148KB to 3200KB so that the contents
fits again.
2004-06-09 19:04:38 +00:00
he
b6e471013e Expand the ramdisk image size from 3m to 3148k so that the contents
fits again.
2004-05-14 17:00:21 +00:00