Commit Graph

111 Commits

Author SHA1 Message Date
christos 947610a7b0 more gnu directory removal. 2017-04-12 17:29:49 +00:00
rin 43be14da29 Switch to x_fsck_ffs and x_newfs. Fix floppy image overflow. 2017-02-08 16:12:59 +00:00
christos f9f6cac132 Kill expr, modernize 2016-09-18 18:24:00 +00:00
christos adf53ef170 remove more stuff. 2016-09-18 16:36:02 +00:00
tsutsui d2fe454405 Workaround unexpected/undocumented behaviors of makefs(8). 2016-08-06 14:51:01 +00:00
tsutsui f6410dad56 Use local MTREECONF to omit unnecessary dirs. 2016-01-30 05:15:18 +00:00
tsutsui 05856249ee Remove redundant mount_gemdos script and put an alias instead. 2016-01-30 00:52:11 +00:00
tsutsui 5b88d89ed6 Specify -DNDEBUG to remove assert(3) macro. Shaves instbin ~40 bytes. 2015-08-12 18:08:02 +00:00
christos 98223238c6 remove unused flags 2015-04-28 15:13:45 +00:00
christos 0e60b6ed86 put back sed, it fits again (and is needed) 2015-04-25 21:44:34 +00:00
christos e14eed55d7 kill sed so we fit on one floppy again. 2015-04-25 18:41:55 +00:00
christos 64b94e0d40 double the size of the image to fix the build 2015-04-22 20:21:11 +00:00
tsutsui 38dea050c6 Disable "OS bootversion check" on crunched binaries for installation media.
This oscheck() function seems implemented to check compatibility
between bootloaders and /netbsd kernel, but checking /netbsd using kvm(3)
doesn't make sense on installation or even future cross builds, and
probably we will never bump bootloader version without compatibility
per recent 14 years history.

This works around overflow of 1440KB 2HD sysinst.fs, and would also be
worth to pullup to netbsd-7.
2014-11-24 08:08:23 +00:00
tsutsui 58384ac8c7 Use "-Os -m68020-60" for DBG. It seems to generate smaller objects than -Os.
gcc48 with "-Os":
-rwxr-xr-x  1 tsutsui  wheel  1319596 Nov 16 20:50 obj.atari/instbin

gcc48 with "-Os -m68020-60"
-rwxr-xr-x  1 tsutsui  wheel  1314516 Nov 16 20:49 obj.atari/instbin

This allows ever growing sysinst.fs still fit into 1440KB even with gcc48.
Acually we need a real solution (ustarfs based floppies etc.) soon
but we can work around at least for NetBSD 7.0.

Should be pulled up to netbsd-7 (if NetBSD/m68k 7.0 will switch to gcc48).
2014-11-16 11:54:29 +00:00
christos 6db2d8666d Revert Makefile changes. 2014-01-22 01:03:09 +00:00
christos 35da150142 put distrib Makefile last 2014-01-22 00:28:35 +00:00
tsutsui 916bfee100 Simply use "mount -u" to (re)mount root file system read-write
rather than denoting it using temporary /tmp/.root_writable file,
because it will never be removed if root file system is on floppy.
Fixes PR port-atari/37470.

Should be pulled up to netbsd-6.
2012-06-30 10:20:26 +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
abs 6c6ab6a995 Relegate edlabel to use in extremely memory constrained install
ramdisks and prefer disklabel elsewhere.
Based on discussion on affected port lists (port-sparc port-sparc64
port-sun3 port-sun2 port-atari port-mvme68k).
All listed ports plus amd64 test built after change
2010-03-10 23:13:09 +00:00
tsutsui 106d393c5c Remove unnecessary LIBS (-ledit, -lbz2, -lcrypt) for SMALL binaries
with libhack.
2010-02-21 20:18:08 +00:00
tsutsui b61b63add5 Fix indent. 2010-02-21 20:10:51 +00:00
tsutsui a61bdefffd Use tiny limited distrib/utils/x_gzip. (no bzip2 and compress support) 2010-02-21 20:09:50 +00:00
tsutsui 93ca9b1e4f - explicitly specify -Os via DBG for libhack build
- set WARNS=1 for sanity
2010-02-21 20:06:19 +00:00
tsutsui 9c220d174d Add dd(1) to install ramdisk binaries to wipe out existing disklabel etc.
Per request from David Ross on port-atari.
2010-02-21 20:04:59 +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 6f653b39ef ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
2009-09-20 19:49:07 +00:00
tsutsui 8579e4ddeb Fix indent. 2009-04-29 18:24:05 +00:00
perry 58e0c54cf3 Consistently use gzip with the -n flag so dates are not embedded.
Not tested on all platforms.
2009-04-03 22:36:34 +00:00
abs c145c58334 support gemdos as a type of unmounted filesystem during set selection 2009-02-02 18:38:37 +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 eedb495377 Add df(1) to installation md_root files for atari.
It looks df(1) had been required by MAKEDEV(8) since NetBSD 1.6 days,
and this could workaround PR port-atari/40316 in branches with
minimum pullups.
2009-01-03 18:11:26 +00:00
abs b8208ff6ae Fix atari sysinst based miniroot image, and retire old (unreferenced)
miniroot.
2008-11-17 20:14:35 +00:00
matt 7cd6f44757 Change remaining instances of ${RELEASEDIR}/${MACHINES} to
${RELEASEDIR}/${RELEASEMACHINEDIR}
2008-06-23 02:16:53 +00:00
he f6ecc10553 Add -lprop, as ifconfig now needs it. 2008-05-11 19:21:02 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +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
jdc fa72ac1da4 Add usr/bin/sort and install.sub to prepare.fs.
Should fix PR port-atari/33455 by Alan Hourihane.
2006-05-12 05:50:30 +00:00
jmc 17902793ab Last remaining bits of hand built releases. Get all TOS utils into CVS and
provide rules for putting them into installation/misc along w. checksums.
2004-12-12 08:25:59 +00:00
wiz 3f9411f688 Spell removable with only two es. Inspired by jmc@openbsd. 2004-04-19 12:44:09 +00:00
dsl 8fc0ae8d08 Add French, German and Polish sysinstmsgs to all ramdisks that include sysinst
expect those where at least one of the language variants isn't built,
and those that are known not to have enough space (i386 ramdisk-tiny).
Files added to list.sysinst, list.sysinst.en is used when these files
cannot be added.
This might hit a size limit on another build - but I have no (sane) way of
testing it.
2004-04-18 20:04:26 +00:00
lukem c434d47afe Remove references to xcontrib and xmisc now that they've been merged
into xbase.
2004-01-17 05:30:01 +00:00
he 614e2c46c6 Since crunchgen now picks up the new gzip from usr.bin/gzip, we now need -lz. 2004-01-13 22:58:02 +00:00
salo 8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
he e0e6a115ce Adapt to the new layout of files under /usr/mdec, so that this
builds again.  However, the install program most probably needs
adaptation for this to work as intended.
2003-07-11 11:54:10 +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
lukem a250e57c96 Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
2003-01-03 15:34:30 +00:00
lukem ea0637c5af Now that usr.bin/ftp/Makefile supports SMALLPROG and SMALLPROG_INET6,
we don't need distrib/utils/x_ftp anymore...
2002-10-17 06:38:15 +00:00