Commit Graph

89 Commits

Author SHA1 Message Date
christos 8c90f798cc handle mipsn64 2021-04-25 23:40:05 +00:00
mrg 43051be004 bump image size for pmax64 builds. 2020-09-07 09:05:10 +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
martin 0ce0a2fa8f Bump ramdisk slightly (non MKREPRO builds with long paths fail otherwise) 2019-06-26 07:33:19 +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 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 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
martin 5f9bff29ea Change all install media to use ipty instead of pty0 2012-08-14 07:24:40 +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 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
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
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 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
wiz 3f9411f688 Spell removable with only two es. Inspired by jmc@openbsd. 2004-04-19 12:44:09 +00:00
martin 0d54d60a48 Add -lz, now needed by gzip. 2003-12-25 11:14:36 +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
lukem ff34de85f0 use usr/sbin/installboot not usr/mdec/installboot 2002-05-27 11:02:21 +00:00
lukem ed8e534c7e yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
2002-05-02 18:02:14 +00:00
simonb f5e9be2ba8 ${DISTRIBDIR} has changed; grab our rcons termcap relative to ${CURDIR}. 2002-05-02 13:31:43 +00:00
lukem 9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
tv 3522143339 The "objcopy" based crunchide method has a problem on MIPS; it turns global
symbols into locals, but relocs are left in place (rather than attempting
to resolve-in-place with "ld -r", even with "-Bsymbolic").

Standard MIPS code will generate CALL16 relocs for function calls, but
the linker forbids such relocs from being used to call local symbols (such
as those turned "local" by objcopy).  So, rather than battle the toolchain
uphill, work around it for the moment by forcing 32-bit GOT references with
the assembler option "-xgot".

This will be fixed in a more clean manner in the future.
2002-04-23 19:53:10 +00:00
lukem 3b19bdd9fe link mount_mfs to newfs 2002-04-13 13:37:48 +00:00
lukem 1908fce774 use ${IMAGETAR} support from Makefile.image 2002-04-12 05:15:18 +00:00
lukem a99fe4fd61 use ${DISTRIBDIR} appropriately 2002-04-12 03:26:57 +00:00
tsutsui ebf5fffe65 Set DBG=-Os for libhack. 2002-04-06 18:16:09 +00:00
lukem e0f433e649 ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
2002-04-01 12:16:11 +00:00
lukem acf013a178 use libhack 2002-03-29 23:45:23 +00:00
lukem d6e557b609 cosmetic reorg 2002-03-28 03:24:07 +00:00
lukem cf579aa572 cosmetic tweaks 2002-03-24 23:15:24 +00:00
lukem 57a7dc2329 convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
2002-03-12 06:26:34 +00:00
lukem 811d644d8f don't set the owner or group when installing into $RELEASEDIR 2002-02-09 13:56:48 +00:00
jmc a37907dc27 Add MTREE?= to add Makefiles and use when running mtree 2001-10-13 06:15:15 +00:00