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