summaryrefslogtreecommitdiff
path: root/distrib/ramdisk/list
blob: 711ae91ef7d43e0659fb9d2b93e96e732f87adda (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
#	$OpenBSD: list,v 1.13 2001/09/17 18:21:30 deraadt Exp $
#	$NetBSD: list,v 1.4.4.1 1996/06/20 20:30:26 pk Exp $

SRCDIRS distrib/special
SRCDIRS usr.bin bin sbin usr.sbin gnu/usr.bin
SRCDIRS	usr.bin/vi

# copy the crunched binary, link to it, and kill it
COPY	${OBJDIR}/instbin	instbin
LINK	instbin			bin/cat
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/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/ksh bin/sh
LINK	instbin			bin/stty
LINK	instbin			bin/sleep
LINK	instbin			bin/sync
LINK	instbin			sbin/dmesg
LINK	instbin			sbin/fsck_ffs sbin/fsck
LINK	instbin			sbin/reboot sbin/halt
LINK	instbin			sbin/ifconfig
LINK	instbin			sbin/dhclient
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 sbin/mount_mfs
LINK	instbin			sbin/ping
LINK	instbin			sbin/route
LINK	instbin			sbin/umount
SYMLINK	../../instbin		usr/bin/ftp
SYMLINK	../../instbin		usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
SYMLINK	../../instbin		usr/bin/sed

ARGVLINK ksh		-sh

# 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

# and the installation scripts
COPY	${CURDIR}/../miniroot/install.sub		install.sub
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 upgrade

# dhcp things
COPY	${DESTDIR}/sbin/dhclient-script sbin/dhclient-script