blob: cb6b1cddf29d2e86ab3f59680fa01265e99be80f (
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.4 2001/10/08 19:26:14 deraadt Exp $
# Sun3 extras
LINK instbin sbin/disklabel
LINK instbin sbin/dmesg
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/sun3/stand
# crunchgen source directory specials
#CRUNCHSPECIAL installboot srcdir sys/arch/sun3/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
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
# 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 -ks`" < ${CURDIR}/../common/install.md > install.md
COPY ${DESTDIR}/usr/mdec/ufsboot boot
SPECIAL sync; ${DESTDIR}/usr/mdec/installboot ${TARGDIR}/boot ${DESTDIR}/usr/mdec/bootxx /dev/rsvnd0c
|