blob: 05e2115457bc2e73c707d1aefa981adca5cb9541 (
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
# $OpenBSD: list,v 1.20 2014/12/28 04:40:19 deraadt Exp $
SRCDIRS distrib/special
# copy the crunched binary, link to it, and kill it
COPY ${OBJDIR}/instbin instbin
LINK instbin bin/arch
LINK instbin bin/cat
LINK instbin bin/date
LINK instbin bin/chmod bin/chgrp sbin/chown
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/ksh bin/sh
ARGVLINK ksh -sh
LINK instbin bin/ln
LINK instbin bin/ls
LINK instbin bin/md5 bin/sha256 bin/sha512
SPECIAL rm bin/md5
LINK instbin bin/mkdir
LINK instbin bin/mt bin/eject
LINK instbin bin/mv
LINK instbin bin/pax bin/tar
LINK instbin bin/rm
LINK instbin bin/sleep
LINK instbin bin/stty
LINK instbin bin/sync
LINK instbin sbin/dhclient
LINK instbin sbin/disklabel
LINK instbin sbin/dmesg
LINK instbin sbin/fdisk
LINK instbin sbin/fsck
LINK instbin sbin/fsck_ffs
LINK instbin sbin/ifconfig
LINK instbin sbin/init
LINK instbin sbin/kbd
LINK instbin sbin/mknod
LINK instbin sbin/mount
LINK instbin sbin/mount_cd9660
LINK instbin sbin/mount_ext2fs
LINK instbin sbin/mount_ffs
LINK instbin sbin/mount_msdos
LINK instbin sbin/mount_nfs
LINK instbin sbin/mount_udf
LINK instbin sbin/newfs
LINK instbin sbin/newfs_ext2fs
LINK instbin sbin/newfs_msdos
LINK instbin sbin/ping
LINK instbin sbin/ping6
LINK instbin sbin/reboot sbin/halt
LINK instbin sbin/route
LINK instbin sbin/sysctl
LINK instbin sbin/umount
LINK instbin usr/bin/encrypt
LINK instbin usr/bin/ftp
LINK instbin usr/bin/grep usr/bin/fgrep usr/bin/egrep
LINK instbin usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
LINK instbin usr/bin/less usr/bin/more
LINK instbin usr/bin/sed
LINK instbin usr/bin/signify
# copy the MAKEDEV script and make some devices
SCRIPT ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
SPECIAL cd dev; sh MAKEDEV ramdisk
# for fdisk(8)
COPY ${DESTDIR}/usr/mdec/mbr usr/mdec/mbr
# various files that we need in /etc for the install
COPY ${DESTDIR}/etc/group etc/group
COPY ${CURDIR}/../../miniroot/master.passwd etc/master.passwd
SPECIAL pwd_mkdb -p -d etc master.passwd; rm etc/master.passwd
COPY ${DESTDIR}/etc/signify/openbsd-${REV}-base.pub etc/signify/openbsd-${REV}-base.pub
COPY ${CURDIR}/../../miniroot/protocols etc/protocols
COPY ${CURDIR}/../../miniroot/services etc/services
SYMLINK /tmp/fstab.shadow etc/fstab
SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf
SYMLINK /tmp/hosts etc/hosts
TERMCAP vt100,vt220,dumb usr/share/misc/termcap
# firmware we might need
COPY ${DESTDIR}/etc/firmware/kue etc/firmware/kue
COPY ${DESTDIR}/etc/firmware/rum-rt2573 etc/firmware/rum-rt2573
COPY ${DESTDIR}/etc/firmware/atu-at76c503-i3863-ext etc/firmware/atu-at76c503-i3863-ext
COPY ${DESTDIR}/etc/firmware/atu-at76c503-i3863-int etc/firmware/atu-at76c503-i3863-int
COPY ${DESTDIR}/etc/firmware/atu-at76c503-rfmd-acc-ext etc/firmware/atu-at76c503-rfmd-acc-ext
COPY ${DESTDIR}/etc/firmware/atu-at76c503-rfmd-acc-int etc/firmware/atu-at76c503-rfmd-acc-int
COPY ${DESTDIR}/etc/firmware/atu-at76c505-rfmd-ext etc/firmware/atu-at76c505-rfmd-ext
COPY ${DESTDIR}/etc/firmware/atu-at76c505-rfmd-int etc/firmware/atu-at76c505-rfmd-int
COPY ${DESTDIR}/etc/firmware/atu-intersil-ext etc/firmware/atu-intersil-ext
COPY ${DESTDIR}/etc/firmware/atu-intersil-int etc/firmware/atu-intersil-int
COPY ${DESTDIR}/etc/firmware/atu-license etc/firmware/atu-license
COPY ${DESTDIR}/etc/firmware/atu-rfmd-ext etc/firmware/atu-rfmd-ext
COPY ${DESTDIR}/etc/firmware/atu-rfmd-int etc/firmware/atu-rfmd-int
COPY ${DESTDIR}/etc/firmware/atu-rfmd2958-ext etc/firmware/atu-rfmd2958-ext
COPY ${DESTDIR}/etc/firmware/atu-rfmd2958-int etc/firmware/atu-rfmd2958-int
COPY ${DESTDIR}/etc/firmware/atu-rfmd2958smc-ext etc/firmware/atu-rfmd2958smc-ext
COPY ${DESTDIR}/etc/firmware/atu-rfmd2958smc-int etc/firmware/atu-rfmd2958smc-int
COPY ${DESTDIR}/etc/firmware/ral-rt2561 etc/firmware/ral-rt2561
COPY ${DESTDIR}/etc/firmware/ral-rt2561s etc/firmware/ral-rt2561s
COPY ${DESTDIR}/etc/firmware/ral-rt2661 etc/firmware/ral-rt2661
# and the installation tools
SCRIPT ${CURDIR}/../../miniroot/dot.profile .profile
SCRIPT ${CURDIR}/install.md install.md
SCRIPT ${CURDIR}/../../miniroot/upgrade.sh upgrade
SCRIPT ${CURDIR}/../../miniroot/install.sh install
SCRIPT ${CURDIR}/../../miniroot/install.sub install.sub
SPECIAL chmod 755 install upgrade
TZ
|