blob: 5ac246bb49d1c8c25b971bc7e2cfb2b22c2ebb50 (
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
|
# $OpenBSD: list,v 1.7 2002/02/24 23:15:08 hugh Exp $
# $NetBSD: list,v 1.2.4.2 1996/06/26 19:25:00 pk Exp $
# extras
LINK instbin sbin/disklabel
#LINK instbin usr/bin/vi
SYMLINK ../../instbin usr/bin/build usr/bin/vi
SYMLINK ../../instbin usr/bin/basename
SYMLINK ../../instbin usr/bin/cksum usr/bin/sum
SYMLINK ../../instbin usr/bin/grep usr/bin/egrep usr/bin/fgrep
SYMLINK ../../instbin usr/bin/netstat
SYMLINK ../../instbin usr/bin/rsh
SYMLINK ../../instbin usr/bin/tset usr/bin/reset
SYMLINK ../../instbin usr/bin/less usr/bin/more
SYMLINK ../../instbin usr/sbin/sysctl
# Minimize use of MFS
SYMLINK /tmp var/tmp
# copy the MAKEDEV script and make some devices
COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
SPECIAL cd dev; sh MAKEDEV ramdisk
# copy and link first stage boot code
COPY ${DESTDIR}/usr/mdec/xxboot usr/mdec/xxboot
LINK usr/mdec/xxboot usr/mdec/hpboot
LINK usr/mdec/xxboot usr/mdec/raboot
LINK usr/mdec/xxboot usr/mdec/rdboot
LINK usr/mdec/xxboot usr/mdec/sdboot
# copy the second stage boot code
COPY ${DESTDIR}/usr/mdec/boot usr/mdec/boot
# and a few useful bits of the termcap file (512K and still growing 8-)
SPECIAL tic -C ${CURDIR}/../../share/termtypes/termtypes.master | sed -n -e 's,/usr/share/lib/tabset,/usr/share/tabset,g' -e 's,/usr/lib/tabset,/usr/share/tabset,g' -e '/^dumb|/,/:[ ]*$/p' -e '/^unknown|/,/:[ ]*$/p' -e '/^vt.*|/,/:[ ]*$/p' > usr/share/misc/termcap
# various files that we need in /etc for the install
COPY ${DESTDIR}/etc/disktab etc/disktab.shadow
SYMLINK /tmp/disktab.shadow etc/disktab
SYMLINK /tmp/fstab.shadow etc/fstab
SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf
SYMLINK /tmp/hosts etc/hosts
# and the installation tools
COPY ${ARCHDIR}/../ramdisk/dot.profile .profile
SPECIAL sed -e '/^#[ ].*$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -s`/" < ${ARCHDIR}/../install.md > install.md
|