Commit Graph

48 Commits

Author SHA1 Message Date
nakayama
1042b8dfbe pppd has moved. 2013-11-30 08:19:30 +00:00
joerg
fc67b0cd11 Switch terminfo(3) to cdb(5). 2012-06-03 23:19:09 +00:00
joerg
1907ec3a61 Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
2012-06-03 21:42:44 +00:00
martin
0d76365484 Enable INET6 in the installer 2011-11-01 09:28:14 +00:00
mrg
3e0afb42a3 sparc64 with GCC 4.5 has about a 2% code bloat, unfortunately.
bump the instfs size to 9MB.
2011-07-10 08:51:24 +00:00
tron
df862fd957 Update location of "less" source directory to the build of various
install medias.
2011-07-03 23:11:31 +00:00
tsutsui
607c670f96 Fix indent. 2011-06-19 02:27:41 +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
martin
dd3f377a8d On install CDs: make ^C and ^Z work (mostly) as they used to do on
crunched/ramdisk install media again.
Fixes the remaining parts of PR 44738.
2011-04-17 12:18:19 +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
martin
9034c8a049 Simplify the console type check by passing -nx to sysctl. Pointed out
by Alan Barrett.
2010-03-13 14:05:39 +00:00
martin
e19ffe5ce4 Provide full terminfo.db on install media 2010-03-12 23:07:13 +00:00
martin
e4ef8b1dd7 Use sysctl kern.consdev to check wether we use ttyE* as console - in that
case just set up TERM as needed and go straight to sysinst. Otherwise
give a slightly verbose explanation (with common sample values) and
ask for TERM before running sysinst.
2010-03-12 21:36:52 +00:00
martin
d41883434c add mount_tmpfs 2010-02-17 16:15:15 +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
7fb2fc21e2 Of the arious list files 28 said
PROG   usr/bin/gzip    usr/bin/gzcat usr/bin/gunzip
while 14 picked
    PROG   usr/bin/gzip    usr/bin/gunzip usr/bin/gzcat

Make them all choose the former. No functional change.
2009-09-18 10:49:08 +00:00
tsutsui
1bdd710904 Fix indent on common/protocols changes. 2009-04-29 18:20:00 +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
martin
2d95ef4c0f Remove CRUNCHGEN_FLAGS, probably left over from a previous hack to work
around bugs in an older compiler. Nowadays the default -Os works fine.
2006-11-22 20:54:16 +00:00
jmmv
2947e73b43 Move lfs_cleanerd from /usr/libexec to /libexec. This is to allow putting
the root file system on a LFS volume.

Addresses PR bin/30407.  No objections in tech-userlevel@.
2006-11-11 14:47:27 +00:00
martin
5cefff4513 It is "MAKEDEV bpf" nowadays 2006-08-18 21:44:53 +00:00
wiz
3f9411f688 Spell removable with only two es. Inspired by jmc@openbsd. 2004-04-19 12:44:09 +00:00
mrg
e8e95bb6e1 add /sbin/raidctl. 2004-01-14 01:52:59 +00:00
martin
0194fe0df2 Add missing fsck_lfs. While there add -lz to LIBS, which is needed with
the new gzip.

Noticed (and patch provided) by John Heasley.
2003-12-25 11:11:25 +00:00
martin
2a5182090a Now that -Os is save again, use it. 2003-09-19 16:28:14 +00:00
salo
8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +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
martin
73d617f74e Add sun-type4 termcap entry and print a hint to change TERM to this
if using a Type 4 keyboard.
2002-10-08 20:26:38 +00:00
martin
3371592c77 Do not use -Os when compiling small programs for the miniroot or
install kernel ramdisk image. It triggers some toolchain bug and
causes for example ifconfig to not display inet addresses.
2002-10-04 21:23:06 +00:00
lukem
0707a91ae6 fix problems noted by Love <lha@stacken.kth.se> on current-users@ :
- add bpf0 to MAKEDEVTARGETS
- set dhclient-script and binstall perms to 555
2002-06-01 16:36:09 +00:00
lukem
55f953bfa3 fix size of images
(i reduced them during testing and they worked then, but not when i
did a full make release. weird...)
2002-05-08 23:11:56 +00:00
lukem
875330dd7f major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
	- install.fs: to mdset into netbsd.INSTALL
	- inst.tgz: contents of install.fs
	- miniroot.fs: install.fs + gzipped GENERIC kernel.  created using a
	  copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
2002-05-07 14:41:36 +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
lukem
33b72e78ec use check_RELEASEDIR 2002-03-25 01:58:57 +00:00
thorpej
1d1d02da94 Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used. 2002-03-05 21:23:28 +00:00
thorpej
0d1f6a757d Use ${PRINTOBJDIR}. 2002-03-05 21:16:51 +00:00
mrg
61d679b8c1 convert sparc64 to use `makefs' rather than vnd/newfs/mount. this severely
cleans up a lot of the processing here.


XXX: note that the sparc64 "INSTALL" kernel's file system has a copy of
GENERIC in /netbsd.  fix this shortly.
2002-01-20 05:57:10 +00:00
mason
131d9bffea vnconfig called incorrectly - it wants either a simple "vnd0" or a full path
to a raw device, not a full path to a cooked device.
2001-12-28 16:34:50 +00:00
mrg
f32a062ce6 install the netbsd.INSTALL kernel into the release area as well. 2001-08-23 16:59:33 +00:00
mrg
d8ebb0682c build an "instfs" which can be untarred for complete netboot installs. 2001-08-23 15:50:09 +00:00