blob: 09bca341f003a01648858d78d1cda5034497249f (
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
|
#
# $NetBSD: list,v 1.25 2021/06/27 05:25:12 tsutsui Exp $
#
# The PROM provides a default kernel name of "vmunix"
COPY ${KERNEL} netbsd
LINK netbsd vmunix
# These are scripts:
COPY ${DESTDIR}/usr/bin/false bin/false 555
COPY ${DESTDIR}/usr/bin/true bin/true 555
# From usr/mdec:
COPY ${DESTDIR}/usr/mdec/bootxx usr/mdec/bootxx
COPY ${DESTDIR}/usr/mdec/bootyy usr/mdec/bootyy
SYMLINK /usr/sbin/installboot usr/mdec/installboot
COPY ${DESTDIR}/usr/mdec/netboot usr/mdec/netboot
COPY ${DESTDIR}/usr/mdec/tapeboot usr/mdec/tapeboot
COPY ${DESTDIR}/usr/mdec/ufsboot usr/mdec/ufsboot
LINK usr/mdec/ufsboot ufsboot
# various files that we need in /etc for the install
COPY ${DESTDIR}/etc/group etc/group
COPY ${DESTDIR}/etc/master.passwd etc/master.passwd
COPY ${DESTDIR}/etc/netconfig etc/netconfig
COPY ${DESTDIR}/etc/passwd etc/passwd
COPY ${DISTRIBDIR}/common/protocols etc/protocols
COPY ${DESTDIR}/etc/pwd.db etc/pwd.db
COPY ${DESTDIR}/etc/spwd.db etc/spwd.db
COPY ${DISTRIBDIR}/common/services etc/services
# some /etc files get special handling (for MFS /tmp yuck)
COPY ${CURDIR}/fstab tmp/fstab.shadow
SYMLINK /tmp/fstab.shadow etc/fstab
SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf
SYMLINK /tmp/hosts etc/hosts
# copy the MAKEDEV script and make some devices
COPY ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV 555
COPY ${DESTDIR}/dev/MAKEDEV.local dev/MAKEDEV.local 555
# copy the miniroot installation tools
COPY ${CURDIR}/profile .profile
COPY ${CURDIR}/install.md install.md
COPY ${OBJDIR}/install.sub install.sub
COPY ${DISTRIBDIR}/miniroot/install.sh install 555
COPY ${DISTRIBDIR}/miniroot/upgrade.sh upgrade 555
SRCDIRS bin sbin usr.bin usr.sbin
# miniroot files from /sbin:
# Extras not in ../../miniroot/list:
# disklabel dmesg edlabel mount_kernfs restore
PROG sbin/disklabel
PROG sbin/dmesg
PROG sbin/edlabel
PROG sbin/fsck
PROG sbin/fsck_ffs
PROG sbin/ifconfig
PROG sbin/init
PROG sbin/mknod
PROG sbin/mount
PROG sbin/mount_cd9660
PROG sbin/mount_ffs
PROG sbin/mount_kernfs
PROG sbin/mount_nfs
PROG sbin/newfs sbin/mount_mfs
PROG sbin/ping
PROG sbin/reboot sbin/halt
PROG sbin/restore sbin/rrestore
PROG sbin/route
PROG sbin/shutdown
PROG sbin/slattach
PROG sbin/swapctl
PROG sbin/sysctl
PROG sbin/umount
# miniroot files from /bin:
# Extras not in ../../miniroot/list:
# date ps rmdir
PROG bin/cat
PROG bin/chmod
PROG bin/cp
PROG bin/date
PROG bin/dd
PROG bin/df
PROG bin/ed
PROG bin/expr
PROG bin/hostname
PROG bin/kill
PROG bin/ln
PROG bin/ls
PROG bin/mkdir
PROG bin/mt
PROG bin/mv
PROG bin/pax usr/bin/tar usr/bin/cpio
PROG bin/ps
PROG bin/pwd
PROG bin/rm
PROG bin/rmdir
PROG bin/sh
PROG bin/sleep
PROG bin/stty
PROG bin/sync
PROG bin/test bin/[
PROG sbin/chown bin/chgrp
# usr.sbin:
PROG usr/sbin/installboot
PROG usr/sbin/rdate
# usr.bin:
PROG usr/bin/chflags
PROG usr/bin/cksum
PROG usr/bin/cmp
PROG usr/bin/ftp
PROG usr/bin/more usr/bin/less
PROG usr/bin/rsh
PROG usr/bin/sed
PROG usr/bin/tip
PROG usr/bin/vi
PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip
# install.md still uses sort
PROG usr/bin/sort
SPECIAL vi srcdir external/bsd/nvi/usr.bin/nvi
SPECIAL disklabel srcdir distrib/utils/x_disklabel
SPECIAL ed srcdir distrib/utils/x_ed
SPECIAL fsck_ffs srcdir distrib/utils/x_fsck_ffs
SPECIAL gzip srcdir distrib/utils/x_gzip
SPECIAL ifconfig srcdir distrib/utils/x_ifconfig
SPECIAL newfs srcdir distrib/utils/x_newfs
SPECIAL ping srcdir distrib/utils/x_ping
SPECIAL route srcdir distrib/utils/x_route
SPECIAL umount srcdir distrib/utils/x_umount
SPECIAL more srcdir distrib/utils/more
SPECIAL edlabel srcdir distrib/utils/edlabel
ARGVLN sh -sh
LIBS libhack.o
LIBS -lrmt -ledit -lutil -lterminfo -lcrypt -ll -lm -lkvm -lz -lprop
|