summaryrefslogtreecommitdiff
path: root/distrib/sun3/ramdisk/list
blob: a905a12b4ca32b8ef5367d9ff7fc320798932628 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#	$OpenBSD: list,v 1.9 2002/04/22 16:48:48 deraadt Exp $

# Sun3 extra's
LINK	instbin			sbin/disklabel
LINK	instbin			usr/bin/grep usr/bin/egrep usr/bin/fgrep
LINK	instbin			usr/bin/tset usr/bin/reset
LINK	instbin			usr/bin/less usr/bin/more
LINK	instbin			usr/sbin/installboot
SPECIAL /bin/rm instbin

SRCDIRS	sys/arch/sun3/stand

# Minimize use of MFS
SYMLINK	/tmp	var/tmp

# copy the MAKEDEV script and make some devices
SPECIAL sed -e '/^[ 	]*#[ 	].*$/d' -e '/^[ 	]*#$/d' < ${DESTDIR}/dev/MAKEDEV	 > dev/MAKEDEV
SPECIAL	cd dev; sh MAKEDEV ramdisk

# we need the contents of /usr/mdec (but not installboot)
COPY	${DESTDIR}/usr/mdec/bootxx	usr/mdec/bootxx
COPY	${DESTDIR}/usr/mdec/ufsboot	usr/mdec/ufsboot

# and a few useful bits of the termcap file (512K and still growing 8-)
SPECIAL tic -C ${CURDIR}/../../share/termtypes/termtypes.master | sed -n -e 's,/usr/share/lib/tabset,/usr/share/tabset,g' -e 's,/usr/lib/tabset,/usr/share/tabset,g' -e '/^dumb|/,/:[ 	]*$/p' -e '/^unknown|/,/:[ 	]*$/p' -e '/^sun.*|/,/:[ 	]*$/p' -e '/^vt.*|/,/:[ 	]*$/p' -e '/^pc3|/,/:[ 	]*$/p' -e '/^pcvt.*|/,/:[ 	]*$/p' > usr/share/misc/termcap

# various files that we need in /etc for the install
COPY	${DESTDIR}/etc/disktab		etc/disktab.shadow
SYMLINK	/tmp/disktab.shadow		etc/disktab
SYMLINK	/tmp/fstab.shadow		etc/fstab
SYMLINK	/tmp/resolv.conf.shadow		etc/resolv.conf
SYMLINK	/tmp/hosts			etc/hosts

# and the installation tools
SPECIAL sed -e '/^[ 	]*#[ 	].*$/d' -e '/^[ 	]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${CURDIR}/../common/install.md	 > install.md