Commit Graph

46 Commits

Author SHA1 Message Date
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 2383b0ce8e Ten identical list.inet6 files, or one common/list.inet6?
Not a difficult choice.
2009-09-20 22:50: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
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
skrll ec608b5760 Remove .ARM.attributes when converting from ELF to a.out. 2009-08-20 14:43:06 +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
he 6ad7662725 Pare down the size of the INSTALL kernel images. This was done by:
1) Removing chio, rcmd, restore, scsictl, shutdown and slattach
   from the ramdisk images
2) Removing the isp* driver from the INSTALL kernel configs
3) Reducing the memory disk and ramdisk size back from 4400 to 4200 blocks

As a result, also remove mention as QLogic ISP controllers as being
supported by the installation.

With this, the INSTALL kernel images should once again be usable;
the firmware apparently imposes a size limit around 5MB on the files
it will load.

Longer-term, this port probably ought to get it's own stand-alone boot
loader, so that it might use e.g. loadable modules.
2009-01-21 14:43:14 +00:00
he 0e4798f78e Bump the ramdisk size so that the contents fits again. 2009-01-18 16:29:30 +00:00
he 28599b0f97 Mirror the changes to sys/arch/cats/conf/Makefile.cats.inc: remove
some more ELF sections when copying to a.out format: .debug_frame,
.debug_loc, .debug_pubnames, and .debug_aranges.
2008-06-09 20:05:12 +00:00
dyoung fdf6250eac Add -lprop to the LIBS line so that ifconfig will link. 2008-05-06 15:32:06 +00:00
tsutsui f27a14abed - use common/termcap.mini
- set TERM=wsvt25
2008-02-01 17:18:07 +00:00
he 9df302c742 Fix another place where the newly added partial debugging symbols
need to be omitted in ELF -> a.out conversion.
2008-01-19 00:03:39 +00:00
skrll 653e86f1a5 Remove the .note.netbsd.ident section when converting the kernel to a.out. 2007-11-19 10:28:15 +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
dsl 2ff7661d8d Fix path of ping6 and rtsol.
lukem fixed the i386 one in July.
Fixes PR/32240
2005-12-04 21:32:11 +00:00
chris 3d4b482c1f As requested in PR port-cats/30460 add support for GENERIC.ABLE kernel to
sysinst, and also add the ABLE install kernel to the generated release
kernels.
2005-08-07 00:21:38 +00:00
lukem 3be06e9652 Only use ping6 and rtsol if ${USE_INET6} != "no".
Part of PR 28994.
2005-01-18 12:38:45 +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
lukem 89f2e609f9 use simpler MDSET_NOSTRIP= instead of MDSET_NOSTRIP.xxxx= 2003-10-25 04:39:48 +00:00
matt a57c218722 Need to remove .comment too. 2003-09-21 15:21:03 +00:00
salo 8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
chris 98c497fb64 Tweak the dot.profile file to:
Use 38400 as the line speed, this is the default footbridge console speed,
changing it confuses a remote serial line. Also updated in dot.hdprofile

Change the BLOCKSIZE to 1k, and the default EDITOR to ed.

Add standin shell funcs for dmesg and grep.

Only run sysinst if it's actually in the image.
2003-03-23 13:47:00 +00:00
chris 4a9431b465 Add more bits the cats install disk.
Most noticeable change is the addition of dhclient, we now prompt if the
user wants DHCP autoconfiguration.
Also added chio, rcmd, ping6, rtsol, scsictl

We now use the cut down versions of:
dhclient, ifconfig, ping, ping6 and route

The ramdisk has grown by about 200k, however the kernel can take that, we're
still a few 100k from the current 5MB limit for cats kernels.
2003-03-23 13:43:41 +00:00
skrll c412d1def0 Don't strip the kernel before the objcopy as the result won't load with
the CATS firmware. I think this is due to a bug in bfd. We'll see.
2003-01-14 20:18:25 +00:00
thorpej bf3979a00a Use objcopy to a.out'ify the install kernel image. 2002-11-23 16:02:55 +00:00
lukem 04e61f8526 - whitespace consistency cleanup
- build (mdset/nm/strip) into ${filename} as one rule, and move ${filename}.gz
  into separate rule
- rename MDSET.${filename}.nosymbols -> MDSET_NOSYMBOLS.${filename}
- rename MDSET.${filename}.post -> MDSET_POST.${filename}, and don't do
  suffix handling here
- rework suffix handling:
	- rename MDSET.${filename}.suffixes -> MDSET_SUFFIXES.${filename},
	  and change from list of suffixes to list of "suffix cmdtobuildsuffix",
  	  where cmdtobuildsuffix is the name of the variable containing the
	  command to build ${filename}.${suffix} (available as "${.TARGET}").
	- for each ${filename}.${suffix}, depend upon ${filename} and use
	  ${cmdtobuildsuffix} to create the former.
	- add separate ${filename}.${suffix}.gz rule
- mipsco & pmax: rename "install.gz" to "netbsd-INSTALL.gz", for
  consistency and so the target to build the mdset kernel doesn't get
  confused with general "install" target
2002-05-08 21:44:53 +00:00
lukem d5209f6152 rather than blocking parallel mdset builds with .WAIT, replace usage of
"netbsd.tmp" with "${.TARGET:R}" (et al)
2002-05-03 15:22:55 +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 9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
chris 8c3f058391 Fix typo, we've got a termcap.mini but not a termcap.vt100 2002-04-14 13:46:36 +00:00
lukem 36f355e14e - Rename Makefile.mdset variables:
MDEXTRA_SUFFIXES.${KERNEL} 	-> MDSET.${FILENAME}.suffixes
	${KERNEL.${_K}}.post		-> MDSET.${FILENAME}.post
  This allows "default" rules for for MDSETTARGETS with FILENAMEs of "-"
  by defined MDSET.-.post & MDSET.-.suffixes
- Document the above
- Use the above appropriately in various Makefiles
- Be a be quieter when building these kernels
- Add .WAIT syncs so that multiple kernels aren't built in parallel, because
  the temporary filename is the same, and it also avoid hairy magic in
  syncing the targets generated from MDSET.${FILENAME}.suffixes with
  the master target for that ${FILENAME}
2002-04-14 01:41:24 +00:00
lukem 8f603e224b consistency cleanup 2002-04-13 13:42:57 +00:00
lukem bff1f8a87e don't need PWD_MKDB 2002-04-13 13:24:25 +00:00
lukem 0dfdd76021 Makefile.mdset:
replace
		TARGETS = KERNEL IMAGE [...]
	with
		MDTARGETS = KERNEL IMAGE FILENAME [...]
	If FILENAME is "-", use "netbsd.${KERNEL}" as the target filename

The rest:
	Update for new MDTARGETS syntax.  In some cases, the kernel
	name from the "old" method will be used to override the default.
2002-04-12 13:39:43 +00:00
lukem 627174f862 - don't pull in <bsd.prog.mk> in Makefile.mdset; do that in the caller instead
- renamed optional post-strip action variable from ${KERNEL}.post to
  netbsd.${KERNEL}.post
2002-04-12 05:33:58 +00:00
lukem bd37a6d119 use TARGETS+=release and do the installs in the subdirs 2002-04-11 22:54:01 +00:00
lukem e940426c29 convert to distrib/common/Makefile.mdset 2002-04-11 22:53:02 +00:00
skrll ac60400580 The results of my cats NWDO hacking.
This was tested using a custom INSTALL kernel. The current one is >4Mb
which the cats firmware can't currently boot. We need to decide what
needs to be removed from INSTALL.
2002-04-11 16:33:58 +00:00