xref: /openbsd/distrib/sparc64/ramdisk/list (revision 78b63d65)
1#	$OpenBSD: list,v 1.7 2001/12/17 00:41:51 krw Exp $
2
3SRCDIRS distrib/special
4SRCDIRS gnu/usr.bin usr.bin bin sbin usr.sbin
5
6# copy the crunched binary, link to it, and kill it
7COPY	${OBJDIR}/instbin	instbin
8LINK	instbin			bin/cat
9LINK	instbin			bin/chmod bin/chgrp sbin/chown
10LINK	instbin			bin/cp
11LINK	instbin			bin/dd
12LINK	instbin			bin/df
13LINK	instbin			bin/ed
14LINK	instbin			bin/expr
15LINK	instbin			bin/hostname
16LINK	instbin			bin/ln
17LINK	instbin			bin/ls
18LINK	instbin			bin/mkdir
19#LINK	instbin			bin/mt bin/eject
20LINK	instbin			bin/mv
21LINK	instbin			bin/pax bin/tar bin/cpio
22LINK	instbin			bin/rm
23LINK	instbin			bin/ksh bin/sh
24ARGVLINK ksh			-sh
25LINK	instbin			bin/sleep
26LINK	instbin			bin/stty
27LINK	instbin			bin/sync
28LINK	instbin			bin/test bin/[
29LINK	instbin			sbin/disklabel
30LINK	instbin			sbin/fsck
31LINK	instbin			sbin/fsck_ffs
32LINK	instbin			sbin/reboot sbin/halt
33LINK	instbin			sbin/ifconfig
34LINK	instbin			sbin/init
35LINK	instbin			sbin/dmesg
36LINK	instbin			sbin/mknod
37LINK	instbin			sbin/mount
38#LINK	instbin			sbin/mount_cd9660
39LINK	instbin			sbin/mount_ffs
40LINK	instbin			sbin/newfs
41LINK	instbin			sbin/ping
42LINK	instbin			sbin/restore
43LINK	instbin			sbin/route
44LINK	instbin			sbin/scsi
45LINK	instbin			sbin/umount
46LINK	instbin			usr/bin/grep usr/bin/fgrep usr/bin/egrep
47#LINK	instbin			usr/bin/mg
48LINK	instbin			usr/bin/ftp
49LINK	instbin			usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
50LINK	instbin			usr/bin/less usr/bin/more
51#LINK	instbin			usr/bin/rsh
52LINK	instbin			usr/bin/sed
53LINK	instbin			usr/bin/sort
54
55# copy the MAKEDEV script and make some devices
56COPY	${DESTDIR}/dev/MAKEDEV	dev/MAKEDEV
57SPECIAL	echo "cd dev; sh MAKEDEV ramdisk; rm MAKEDEV"
58SPECIAL cd dev; sh MAKEDEV ramdisk; rm MAKEDEV
59
60# we need the contents of /usr/mdec
61#COPY	${DESTDIR}/usr/mdec/installboot	usr/mdec/installboot
62#COPY	${DESTDIR}/usr/mdec/ofwboot	usr/mdec/ofwboot
63#COPY	${DESTDIR}/usr/mdec/bootblk	usr/mdec/bootblk
64
65# various files that we need in /etc for the install
66COPY	${DESTDIR}/etc/group			etc/group
67COPY	${DESTDIR}/etc/spwd.db			etc/spwd.db
68COPY	${DESTDIR}/etc/disktab			etc/disktab
69COPY	${CURDIR}/../../miniroot/protocols	etc/protocols
70COPY	${CURDIR}/../../miniroot/services	etc/services
71SYMLINK	/tmp/disktab.shadow			etc/disktab
72SYMLINK	/tmp/fstab.shadow			etc/fstab
73SYMLINK	/tmp/resolv.conf.shadow			etc/resolv.conf
74SYMLINK	/tmp/hosts				etc/hosts
75
76# and the common installation tools
77COPY    ${TOPDIR}/common/termcap.vt        usr/share/misc/termcap
78
79# and the installation tools
80SPECIAL	sed -e '/^[ 	]*#[ 	].*$/d' -e '/^[ 	]*#$/d' < ${CURDIR}/../common/dot.profile > .profile
81SPECIAL sed -e '/^[ 	]*#[ 	].*$/d' -e '/^[ 	]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -s`/" < ${CURDIR}/../common/install.md > install.md
82SPECIAL sed -e '/^[ 	]*#[ 	].*$/d' -e '/^[ 	]*#$/d' < ${CURDIR}/../../miniroot/install.sh > install
83SPECIAL sed -e '/^[ 	]*#[ 	].*$/d' -e '/^[ 	]*#$/d' -e "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/../../miniroot/install.sub > install.sub
84SPECIAL	chmod 755 install
85