blob: 437e6b84d7a84f71dc0bf7c0c13dcc06d53044db (
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
97
98
|
# $OpenBSD: list,v 1.7 1997/09/19 00:14:02 deraadt Exp $
SRCDIRS distrib/special
SRCDIRS usr.bin bin sbin usr.sbin gnu/usr.bin
SRCDIRS usr.bin/vi usr.sbin/pppd
# 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/pax bin/tar bin/cpio
LINK instbin bin/rm
LINK instbin bin/pdksh bin/sh
ARGVLINK pdksh -sh
LINK instbin bin/sleep
LINK instbin bin/stty
LINK instbin bin/sync
LINK instbin bin/test bin/[
LINK instbin sbin/disklabel
LINK instbin sbin/fdisk
LINK instbin sbin/fsck sbin/fsck_ffs
LINK instbin sbin/reboot 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_msdos
LINK instbin sbin/mount_nfs
LINK instbin sbin/mount_kernfs
LINK instbin sbin/mount_ext2fs
LINK instbin sbin/newfs sbin/mount_mfs
LINK instbin sbin/ping
LINK instbin sbin/restore
LINK instbin sbin/route
LINK instbin sbin/slattach
LINK instbin sbin/scsi
LINK instbin sbin/umount
LINK instbin usr/bin/cut
LINK instbin usr/bin/grep usr/bin/fgrep usr/bin/egrep
LINK instbin usr/bin/elf2ecoff
LINK instbin usr/bin/ftp
LINK instbin usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
LINK instbin usr/bin/less usr/bin/more
LINK instbin usr/bin/rsh
LINK instbin usr/bin/sed
LINK instbin usr/bin/sort
LINK instbin usr/bin/tip
LINK instbin usr/sbin/chat
LINK instbin usr/sbin/chown usr/sbin/chgrp
LINK instbin usr/sbin/pppd
SYMLINK ../../instbin usr/sbin/chown usr/bin/chgrp
SYMLINK ../../instbin usr/bin/ftp
SYMLINK ../../instbin usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
SYMLINK ../../instbin usr/bin/sed
SYMLINK ../../instbin usr/bin/build usr/bin/vi
# copy the MAKEDEV script and make some devices
COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
SPECIAL cd dev; sh MAKEDEV ramdisk
SPECIAL /bin/rm dev/MAKEDEV
# we need the contents of /usr/mdec
COPY ${DESTDIR}/usr/mdec/mbr usr/mdec/mbr
COPY ${DESTDIR}/usr/mdec/msdos5mb.gz usr/mdec/msdos5mb.gz
# various files that we need in /etc for the install
COPY ${DESTDIR}/etc/group etc/group
COPY ${DESTDIR}/etc/protocols etc/protocols
COPY ${DESTDIR}/etc/services etc/services
COPY ${DESTDIR}/etc/spwd.db etc/spwd.db
COPYDIR ${DESTDIR}/etc/ppp etc/ppp
# and the common installation tools
COPY ${CURDIR}/termcap.pc3 usr/share/misc/termcap
COPY ${DESTDIR}/usr/share/misc/scsi_modes usr/share/misc/scsi_modes
# and the installation tools
COPY dot.profile .profile
COPY dot.instutils .instutils
COPY install.md install.md
COPY ${CURDIR}/../../miniroot/install.sh install
COPY ${CURDIR}/../../miniroot/upgrade.sh upgrade
SPECIAL sed "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/../../miniroot/install.sub > install.sub
SPECIAL chmod 755 install
|