blob: d184032b24ef5a779708570197f63c437aa80e6b (
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
# $NetBSD: list,v 1.1 1995/10/03 22:48:04 thorpej Exp $
# copy the crunched binary, link to it, and kill it
COPY ${OBJDIR}/instbin instbin
LINK instbin bin/cat
LINK instbin bin/chmod
LINK instbin bin/cp
LINK instbin bin/dd
LINK instbin bin/df
LINK instbin bin/ed
LINK instbin bin/expr
LINK instbin bin/hostname
LINK instbin bin/ln
LINK instbin bin/ls
LINK instbin bin/mkdir
LINK instbin bin/mt
LINK instbin bin/mv
LINK instbin bin/pwd
LINK instbin bin/rm
LINK instbin bin/sh
LINK instbin bin/stty
LINK instbin bin/sleep
LINK instbin bin/sync
LINK instbin bin/test
LINK instbin bin/[
LINK instbin sbin/disklabel
LINK instbin sbin/dmesg
LINK instbin sbin/fsck
LINK instbin sbin/halt
LINK instbin sbin/ifconfig
LINK instbin sbin/init
LINK instbin sbin/mknod
LINK instbin sbin/mount
LINK instbin sbin/mount_cd9660
LINK instbin sbin/mount_ffs
LINK instbin sbin/mount_nfs
LINK instbin sbin/newfs
LINK instbin sbin/ping
LINK instbin sbin/reboot
LINK instbin sbin/route
LINK instbin sbin/shutdown
LINK instbin sbin/slattach
LINK instbin sbin/umount
SYMLINK /instbin usr/bin/awk
SYMLINK /instbin usr/bin/basename
SYMLINK /instbin usr/bin/chflags
SYMLINK /instbin usr/bin/chgrp
SYMLINK /instbin usr/bin/cut
SYMLINK /instbin usr/bin/ftp
SYMLINK /instbin usr/bin/grep
SYMLINK /instbin usr/bin/gunzip
SYMLINK /instbin usr/bin/gzcat
SYMLINK /instbin usr/bin/gzip
SYMLINK /instbin usr/bin/more
SYMLINK /instbin usr/bin/sed
SYMLINK /instbin usr/bin/strings
SYMLINK /instbin usr/bin/tar
SYMLINK /instbin usr/bin/tip
SYMLINK /instbin usr/bin/tset
SYMLINK /instbin usr/bin/vi
SYMLINK /instbin usr/sbin/bad144
SYMLINK /instbin usr/sbin/chown
SYMLINK /instbin usr/sbin/chroot
SYMLINK /instbin usr/sbin/update
# We can only get this program this way.
COPY ${DESTDIR}/sbin/mount_mfs sbin/mount_mfs
SPECIAL chmod 555 sbin/mount_mfs
# 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
# various files that we need in /etc for the install
COPY ${DESTDIR}/etc/group etc/group
COPY ${DESTDIR}/etc/master.passwd etc/master.passwd
COPY ${DESTDIR}/etc/passwd etc/passwd
COPY ${DESTDIR}/etc/protocols etc/protocols
COPY ${DESTDIR}/etc/pwd.db etc/pwd.db
COPY ${DESTDIR}/etc/services etc/services
COPY ${DESTDIR}/etc/spwd.db etc/spwd.db
COPY ${DESTDIR}/etc/disktab etc/disktab.shadow
SYMLINK /tmp/disktab.shadow etc/disktab
SYMLINK /tmp/fstab.shadow etc/fstab
SYMLINK /tmp/hosts etc/hosts
# and the termcap file
COPY ${TOPDIR}/../../../share/termcap/termcap.src usr/share/misc/termcap
|