summaryrefslogtreecommitdiff
path: root/distrib/sparc64/miniroot/list
blob: 5c98c14e368cb0a363ef9630420ca32d7e210033 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#	$OpenBSD: list,v 1.1 2001/09/18 14:27:32 jason Exp $
#	$NetBSD: list,v 1.2.4.2 1996/06/26 19:25:00 pk Exp $

# Sparc extra's
LINK	instbin			sbin/disklabel
LINK	instbin			sbin/dhclient

SYMLINK	../../instbin		usr/bin/basename
SYMLINK ../../instbin		usr/bin/cksum usr/bin/sum
SYMLINK ../../instbin		usr/bin/cut
SYMLINK ../../instbin		usr/bin/getopt
SYMLINK ../../instbin		usr/bin/grep usr/bin/egrep usr/bin/fgrep
SYMLINK ../../instbin		usr/bin/netstat
SYMLINK ../../instbin		usr/bin/rsh
SYMLINK ../../instbin		usr/bin/strings
SYMLINK ../../instbin		usr/bin/tset usr/bin/reset
SYMLINK	../../instbin		usr/bin/less usr/bin/more
SYMLINK	../../instbin		usr/sbin/installboot
SYMLINK	../../instbin		usr/sbin/sysctl

SRCDIRS	sys/arch/sparc/stand

# crunchgen source directory specials
#CRUNCHSPECIAL installboot srcdir sys/arch/sparc/stand/installboot

# Minimize use of MFS
SYMLINK	/tmp	var/tmp

# copy the MAKEDEV script and make some devices
COPY	${DESTDIR}/dev/MAKEDEV		dev/MAKEDEV
COPY	${DESTDIR}/dev/MAKEDEV.local	dev/MAKEDEV.local
SPECIAL	cd dev; sh MAKEDEV all
#SPECIAL	/bin/rm dev/MAKEDEV

# we need the contents of /usr/mdec
COPYDIR	${DESTDIR}/usr/mdec	usr/mdec
SPECIAL	rm -f usr/mdec/binstall usr/mdec/installboot

# 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

# copy the kernel
COPY	bsd	bsd

# 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
COPY	${ARCHDIR}/dot.profile		.profile
SPECIAL sed -e '/^#[ 	].*$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -s`/" < ${ARCHDIR}/../install.md	 > install.md
COPY	${DESTDIR}/usr/mdec/boot	boot
SPECIAL sync; ${DESTDIR}/usr/mdec/binstall -v ffs ${TARGDIR}