Commit Graph

59 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
sevan
114620fd30 Bump size to resolve build. 2019-05-06 17:20:38 +00:00
mrg
3a525b6945 bump ramdisk sizes to cope with GCC 7 bloat. 2019-02-07 04:33:58 +00:00
christos
8adbf7c67a Rename ELF2ECOFF -> MIPS_ELF2ECOFF 2019-01-01 19:09:12 +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
tsutsui
b27265d400 Use elf2ecoff(1) rather than objcopy(1) to generate ecoff kernel.
Reported by Naruaki Etomi in PR port-sgimips/53518.
Should be pulled up to netbsd-7 and netbsd-8.
2018-09-02 16:41:42 +00:00
christos
009f8e31d2 += for MAKEFS_FLAGS 2017-01-24 18:04:01 +00:00
mrg
44087f32fe bump the image size. 2016-03-23 05:24:11 +00:00
nakayama
605add88bb nvi has moved. 2013-11-30 08:27:17 +00:00
he
6b42c440db Bump the image size so that the contents fits again. Kernel (at
least INSTALL32_IP3x) has big enough area already.
2013-08-31 10:42:18 +00:00
he
e0e72b8a73 Bump the install image size so that this builds again. 2012-02-04 22:27:25 +00:00
jmcneill
4b2d521801 use ${CDIMAGE} instead of ${CDBASE}.iso 2012-01-15 22:34:33 +00:00
he
f7a04693d8 Bump the image size so that the contents fits again. 2011-08-11 07:47:22 +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
matt
10df5a1be5 Deal with 64 bit versions of kernels 2011-02-20 08:26:08 +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
he
855dfbc060 Bump size from 3500k to 3600k so that the contents fits again. 2010-08-16 13:24:54 +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
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
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
he
72c424ca31 Bump the disk image from 3200 to 3500k so that the contents fits again. 2007-07-09 21:35:59 +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
he
e8d8d58b77 Bump the image size from 3M to 3.2M, so that it fits again. 2006-01-16 00:13:58 +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
e65c20724a Nuke elf2ecoff in favor of objcopy. 2005-03-01 00:22:07 +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
c034f6b247 Missed a mechanical edit in previous commit. 2003-11-13 02:34:24 +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
rafal
8884f84081 Fix pk' entry in iris-ansi, add k9', `@8' entries to iris-ansi-ap. Based
on reports from Thomas Dickey and his latest termcap file.

PR: port-sgimips/17619
2003-02-06 04:15:44 +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