1#         $NetBSD: list.ramdisk,v 1.26 2015/10/07 14:09:05 martin Exp $
2
3SRCDIRS   external/bsd/less/bin
4SRCDIRS   bin sbin usr.bin usr.sbin libexec
5
6# Programs for a minimal ramdisk image
7
8PROG      bin/cat
9PROG      bin/chmod
10PROG      bin/cp
11PROG      bin/ln
12PROG      bin/ls
13PROG      bin/mkdir
14PROG      bin/mv
15PROG      bin/pax             usr/bin/tar
16PROG      bin/pwd
17PROG      bin/rm
18PROG      bin/sh
19PROG      bin/stty
20
21PROG      sbin/chown          bin/chgrp
22PROG      sbin/disklabel
23PROG      sbin/dmesg
24PROG      sbin/fsck
25PROG      sbin/fsck_ffs
26PROG      sbin/gpt
27PROG      sbin/ifconfig
28PROG      sbin/init
29PROG      sbin/mknod
30PROG      sbin/mount
31PROG      sbin/mount_cd9660
32PROG      sbin/mount_ext2fs
33PROG      sbin/mount_ffs
34# PROG    sbin/mount_kernfs
35PROG      sbin/mount_msdos
36PROG      sbin/mount_nfs
37PROG      sbin/mount_tmpfs
38PROG      sbin/newfs          sbin/mount_mfs
39PROG      sbin/newfs_ext2fs
40PROG      sbin/ping
41PROG      sbin/reboot         sbin/halt
42PROG      sbin/route
43PROG      sbin/swapctl
44PROG      sbin/umount
45
46PROG      usr/bin/ftp
47PROG      usr/bin/gzip        usr/bin/gzcat usr/bin/gunzip
48PROG      usr/bin/sed
49
50# One of these is rather useful
51# PROG    usr/bin/less        usr/bin/more
52# PROG    usr/bin/more        usr/bin/less
53
54# sysinst doesn't use installboot (yet)
55PROG      usr/sbin/installboot
56
57PROG      usr/sbin/chroot
58
59SPECIAL   gzip                srcdir    distrib/utils/x_gzip
60SPECIAL   ifconfig  srcdir    distrib/utils/x_ifconfig
61SPECIAL   ping                srcdir    distrib/utils/x_ping
62SPECIAL   route               srcdir    distrib/utils/x_route
63# SPECIAL more                srcdir    distrib/utils/more
64
65# init invokes the shell as -sh
66ARGVLN    sh -sh
67
68# libhack.o is built by Makefile & included Makefile.inc
69LIBS      libhack.o -ledit -lutil -lcurses -lterminfo -lrmt -lcrypt -ll -lm -lz -lprop
70
71# various files that we need in /etc for the install
72COPY      ${NETBSDSRCDIR}/etc/group               etc/group
73COPY      ${NETBSDSRCDIR}/etc/master.passwd       etc/master.passwd
74COPY      ${NETBSDSRCDIR}/etc/netconfig           etc/netconfig
75COPY      ${DISTRIBDIR}/common/protocols                    etc/protocols
76COPY      ${DISTRIBDIR}/common/services           etc/services
77
78# we need the boot block in /usr/mdec + the MBR copy
79COPY      ${DESTDIR}/usr/mdec/boot                usr/mdec/boot
80COPY      ${DESTDIR}/usr/mdec/bootxx_ffsv1        usr/mdec/bootxx_ffsv1
81COPY      ${DESTDIR}/usr/mdec/bootxx_ffsv2        usr/mdec/bootxx_ffsv2
82COPY      ${DESTDIR}/usr/mdec/bootxx_lfsv2        usr/mdec/bootxx_lfsv2
83COPY      ${DESTDIR}/usr/mdec/mbr                           usr/mdec/mbr
84COPY      ${DESTDIR}/usr/mdec/mbr_ext             usr/mdec/mbr_ext
85COPY      ${DESTDIR}/usr/mdec/mbr_bootsel                   usr/mdec/mbr_bootsel
86COPY      ${DESTDIR}/usr/mdec/gptmbr.bin                    usr/mdec/gptmbr.bin
87
88# and the boot script
89COPY      ${CURDIR}/../common/dot.profile                   .profile
90