Commit Graph

36 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
mrg 3a525b6945 bump ramdisk sizes to cope with GCC 7 bloat. 2019-02-07 04:33:58 +00:00
christos 009f8e31d2 += for MAKEFS_FLAGS 2017-01-24 18:04:01 +00:00
he e0e72b8a73 Bump the install image size so that this builds again. 2012-02-04 22:27:25 +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
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 06add2372c Fix indent and sort some entries. 2009-04-29 18:22:47 +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
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
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
tsutsui c19a11ffc4 Use -mmemcpy to shrink binaries. 2006-01-08 16:05:56 +00:00
sekiya 5976a15e4a Remove MAKEDEVTARGETS. 2005-03-01 01:06:05 +00:00
sekiya d64a282ae6 Build the DHCP client, use more x_utilities, and in general sync with other
ports.  There's still something weird about bpf that prevents a pure DHCP
install from succeeding, but it's closer than it was.
2005-02-28 08:38:37 +00:00
wiz ed06e32b97 Spell removable with only two es, add RCS Id. 2004-04-19 12:43:27 +00:00
martin 0d54d60a48 Add -lz, now needed by gzip. 2003-12-25 11:14:36 +00:00
sekiya 5c7fa3c8dd Tweak ramdisk size -- ip22 doesn't seem to like a four-meg image. 2003-11-20 01:57:09 +00:00
sekiya c516224170 The bootloader names appeared in many more places than I originally
thought.  This commit should, finally, take care of all instances.
2003-11-13 14:07:38 +00:00
sekiya 27c0556eae -fno-gcse is unneccessary. 2003-11-13 13:18:56 +00:00
sekiya 96dd3017c1 Adapt to new config file naming convention. 2003-11-13 02:33:39 +00:00
salo 8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
tsutsui e2c139ba9f Remove "-Wa,-xgot" hack from DBG flag for broken objcopy-crunchide
that has been fixed by simonb.

BTW, should we also add "-mmemcpy" here to reduce code size?
2003-02-01 05:03:42 +00:00
pooka 6ff7823dd7 Add appropriate-looking density-value to MAKEFS_FLAGS to force
makefs to create enough inodes for the image.

suggested by Izumi Tsutsui
2003-01-14 11:40:31 +00:00
pooka 5cdedc03d0 reflect boot.ip32 2002-12-30 14:55:28 +00:00
rafal 04d70c3689 Fix PR port-sgimips/17567: sysinst wasn't installing/upgrading bootblocks on
the new disk.  This requires my previous changes to sgivol to get a non-
interactive mode.  While here, change the way sysinst invoked sgivol (it
called system(), now it uses run_prog()) so we don't mess up the logging
and scripting contexts.
2002-07-18 16:23:36 +00:00
rafal 9b5e467d2e Don't set speed in the stty commands, so installs still work if the user
has their console speed set to something other than 9600.
2002-07-17 14:04:59 +00:00
lukem fa9f459228 unused 2002-05-22 18:04:04 +00:00
rafal 8917c72df2 Release machinery for port-sgimips; original work by Scott Taylor (sgimips
at mrynet.com), NDWO-ified by me (so all bugs are probably my fault).
2002-05-21 20:54:16 +00:00