blob: f4497ec0f774027d15930c8a61b0198584a7d5ca (
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
|
#
# $OpenBSD: list,v 1.3 2000/07/15 02:21:01 deraadt Exp $
#
# copy the crunched binary, link to it, and kill it
COPY ${OBJDIR}/raminst raminst
LINK raminst bin/cat
LINK raminst bin/chmod bin/chgrp sbin/chown
LINK raminst bin/cp
LINK raminst bin/cpio
LINK raminst bin/dd
LINK raminst bin/df
LINK raminst bin/ed
LINK raminst bin/expr
LINK raminst bin/ln
LINK raminst bin/ls
LINK raminst bin/mkdir
LINK raminst bin/mv
LINK raminst bin/ksh bin/sh
ARGVLINK ksh -sh
LINK raminst bin/rm
LINK raminst bin/stty
LINK raminst bin/sleep
LINK raminst bin/tar
LINK raminst sbin/disklabel
LINK raminst sbin/fsck
LINK raminst sbin/halt
LINK raminst sbin/dhclient
LINK raminst sbin/ifconfig
LINK raminst sbin/init
LINK raminst sbin/mknod
LINK raminst sbin/mount
LINK raminst sbin/mount_cd9660
LINK raminst sbin/mount_ffs
LINK raminst sbin/mount_kernfs
LINK raminst sbin/mount_nfs
LINK raminst sbin/mount_mfs
LINK raminst sbin/newfs
LINK raminst sbin/reboot
LINK raminst sbin/route
LINK raminst sbin/umount
LINK raminst usr/bin/ftp
LINK raminst usr/bin/egrep
LINK raminst usr/bin/fgrep
LINK raminst usr/bin/grep
LINK raminst usr/bin/gzip
LINK raminst usr/bin/less
LINK raminst usr/bin/more
LINK raminst usr/bin/sed
LINK raminst usr/bin/pax
SPECIAL /bin/rm raminst
# copy the MAKEDEV script and make some devices
COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
SPECIAL cd dev; sh MAKEDEV raminst
# we need the contents of /usr/mdec
COPY ${DESTDIR}/usr/mdec/bootrz usr/mdec/bootrz
COPY ${DESTDIR}/usr/mdec/rzboot usr/mdec/rzboot
# various files that we need in /etc for the install
COPY ${DESTDIR}/etc/group etc
COPY ${DESTDIR}/etc/protocols etc
COPY ${DESTDIR}/etc/services etc
COPY ${DESTDIR}/etc/spwd.db etc
# and the common installation tools (XXX - not common right now)
COPY ${CURDIR}/dot.commonutils .commonutils
COPY ${CURDIR}/termcap.vt usr/share/misc/termcap
# so DNS can work
SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf
# and the installation tools
SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/dot.profile > .profile
SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/dot.instutils > .instutils
SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/disktab.shadow > etc/disktab.shadow
SPECIAL sed -e "/^VERSION=/s/=.*/=${REV}/" -e '/^#[ ].*$/d' < ${CURDIR}/../../miniroot/install.sub > install.sub
SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/../../miniroot/install.sh > install
SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/../../miniroot/upgrade.sh > upgrade
SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/install.md > install.md
SPECIAL chmod 755 install upgrade
|