Commit Graph

129 Commits

Author SHA1 Message Date
andvar 3b26fa5cee s/succes/success/ in comments. 2022-12-30 09:08:47 +00:00
tsutsui f4c6ab5a8c Fix yet another "[: SMALL test, no fallback usage" error on installation.
The same problem as PR/54835 of the miniroot scripts, i.e.
avoid and replace use of -o binary primary marked obsolescent
by POSIX.1-2017:
 https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_12
8_16

Noticed on installation of NetBSD 9.3 on TT030, and
maybe should be pulled up to netbsd-9.
2022-08-20 20:50:41 +00:00
rin fbe173fe52 Drop IEEE 802.11 support from ifconfig(8).
Reduce ~9KB, and atari builds again for me.
2022-05-11 10:47:10 +00:00
rin 809f35d114 For atari install disk:
- Drop FD support from installboot(8). Reduce ~0.5KB.
- Drop primary boot loaders for FD (2 files, 0.5KB each).

Note that we continue to support these features in base.

OK tsutsui@
2022-05-11 10:36:52 +00:00
andvar 0ac7f4ddbc fix various typos, mainly s/trasfering/transferring/ and s/theese/these/. 2022-05-03 20:52:30 +00:00
tsutsui 69b4acc8fa Provide wdboot as a link of sdboot for Milan also in sysinst.
See the following commit log for details:
 https://mail-index.netbsd.org/source-changes/2018/03/04/msg092779.html
2020-06-18 18:14:06 +00:00
martin d001b02d00 Adapt to libterminfo as part of libhack-curses 2020-04-05 11:19:01 +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 7e81d727bc Consistently use ${RELEASEDIR}/${RELEASEMACHINE} instead of
${RELEASEDIR}/${MACHINE} (Paul Ripke)
2019-09-23 13:42:30 +00:00
martin b1c4c5b0c1 Use the non-WIDE_CHAR libcurses version from libhack 2019-07-28 10:28:49 +00:00
christos c8ad2fbe87 More fat trimming defines and we managed to feat in our tight jeans. 2019-06-22 23:42:44 +00:00
christos a672382c55 adjust miniroot scripts to deal with the time prefix in dmesg 2019-04-10 14:52:53 +00:00
christos eca4585910 modernize, and avoid -a -o 2019-04-04 21:00:19 +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 4af2476e58 Also use kernfs to get rootdev and disk devices for "prepare" part.
Completely untested for many years..
2017-11-25 09:41:45 +00:00
tsutsui cd0748f6bb Use kernfs to detect root file system device, instead of fat sysctl(8).
Should fix sysinst.fs overflow that prevents daily build.
Discussed on port-atari@:
 http://mail-index.netbsd.org/port-atari/2017/11/thread1.html#000558
and whole installation is briefly tested on TT030.
2017-11-25 09:40:17 +00:00
tsutsui 13fd0b3a72 Put back /bin/cp and /sbin/sysctl to installation binaries.
- cp(1) is explicitly required by sysinst(8), cp_to_target() in
  src/usr.sbin/sysinst/target.c, to copy bootloader to targetroot
- sysctl(8) is required by src/distrib/atari/floppies/common/dot.profile
  to detect the root device (fd or md)

This might cause floppy overflow on HEAD again, but works on 8.0_BETA.

Should be pulled up to netbsd-8.
2017-11-15 16:37:00 +00:00
tsutsui 180bf5d3e0 Avoid use of expr(1).
It was removed from src/distrib/atari/floppies/install/list since rev 1.19
and the install script complains expr is not found.

Should be pulled up to netbsd-8.
2017-11-15 16:19:19 +00:00
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