Commit Graph

50 Commits

Author SHA1 Message Date
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
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
e04cfff0dc Don't build unwind data for the ramdisk, use more aggressive size
optimization for clang.
2017-07-23 20:59:00 +00:00
joerg
5a64c2ee91 Give clang a bit more space on the RAM disk. 2017-02-09 15:24:08 +00:00
christos
009f8e31d2 += for MAKEFS_FLAGS 2017-01-24 18:04:01 +00:00
joerg
23b4e7f4cd Give the ramdisk a bit more space, evbppc64 for clang is running out. 2016-11-13 22:14:44 +00:00
matt
cd97b9dec7 Add sbin/sysctl 2016-07-07 06:28:57 +00:00
nonaka
79aad7ee9b Added RouterBOARD RB850Gx2 config. md root only. 2015-01-30 15:04:35 +00:00
joerg
530ea53873 Include /dev/bpf for dhcpcd. 2015-01-16 22:37:58 +00:00
joerg
d02c242c7b Bump ramdisk size to 3.2MB and include dhcpcd. 2014-08-13 20:52:05 +00:00
joerg
0c7d9d4853 Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
2014-08-08 16:56:30 +00:00
joerg
e9fc44ba9f Provide the INSTALL kernel for TWRP1025. 2014-08-02 15:51:18 +00:00
joerg
25dea22938 Pass down TOOL_STAT here as well. 2014-03-03 19:14:00 +00:00
martin
5f9bff29ea Change all install media to use ipty instead of pty0 2012-08-14 07:24:40 +00:00
matt
556095151a Increase ramdisk size. 2012-07-27 22:40:48 +00:00
matt
fac2609cc0 Add dkctl / drvctl support. 2012-07-24 20:50:14 +00:00
matt
6c670340fc Add dk and flash depends.
Make ramdiskbin dependent on Makefile.
2012-07-23 04:25:03 +00:00
matt
588c57c487 Add gpt and cksum(md5/sha1/sum) 2012-07-20 11:20:37 +00:00
matt
cde160c352 Change erase from ^H to ^? (delete). 2012-07-20 11:19:51 +00:00
kiyohara
0fefe00c6d Fix build failure. Remove unknown device ttyv0. 2012-02-23 00:22:07 +00:00
matt
37e06c30ca Add ext2/msdos support, allow mount from udf, add flashctl. 2012-02-01 22:25:46 +00:00
matt
48bb1d5677 Put ld0/ld1 on the ramdisk (for sdmmc). 2012-02-01 21:57:13 +00:00
matt
2b4b011cf1 Add fdisk 2011-08-11 08:39:42 +00:00
matt
928cfd7968 Make sure to build -fno-pie -fno-pic in case MKPIE=yes 2011-06-20 21:39:18 +00:00
matt
0c0d23d234 Switch to using tmpfs.
Add mount_tmpfs, ps, netstat, vmstat, and date to ramdisk image.
2011-01-18 01:27:16 +00:00
matt
dad30a3249 Don't use string instructions (not on mpc85xx) 2011-01-18 01:25:29 +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
he
8a59b02128 Replace references to local and now no-longer-existing termcap files
with references to ${DISTRIBB}/common/termcap.  Hi, abs@!
2009-09-24 21:04:45 +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
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
abs
f59480d8df Switch evbpcc sysinst and install notes to referencing WALNUT/OPENBLOCKS266
kernels, rather than (nonexistant) GENERIC

from KIYOHARA Takashi
2009-01-25 17:48:05 +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
dsl
f9535a65ed Delete the:
SPECIAL        dmesg           srcdir  distrib/utils/x_dmesg
line from all the ramdisk 'list' files.  dmesg/Makefile will add -DSMALL
if SMALLPROG is defined (which it is by Makefile.crunch).
2005-09-10 13:09:01 +00:00
kiyohara
f6c9a2641f Set variable MAKEDEVTARGETS. 2005-09-04 16:34:45 +00:00
shige
9bc1bf15c8 Add md-kernel for installation: INSTALL_OPENBLOCKS266. 2005-08-03 14:55:37 +00:00
jmc
e7fa4c1b11 One more place that needs $HOST_SH to run a script correctly. 2005-03-23 19:54:47 +00:00
wiz
3f9411f688 Spell removable with only two es. Inspired by jmc@openbsd. 2004-04-19 12:44:09 +00:00
salo
8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +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
scw
16af9da786 The walnut port has been subsumed by the new evbppc port. 2002-12-09 14:20:52 +00:00