1 # $NetBSD: list.ramdisk,v 1.18.2.1 2011/06/23 14:18:18 cherry Exp $ 2 3 SRCDIRS usr.bin/less 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 ifconfig srcdir distrib/utils/x_ifconfig 57 SPECIAL ping srcdir distrib/utils/x_ping 58 SPECIAL route srcdir distrib/utils/x_route 59 # SPECIAL more srcdir distrib/utils/more 60 61 # init invokes the shell as -sh 62 ARGVLN sh -sh 63 64 # libhack.o is built by Makefile & included Makefile.inc 65 LIBS libhack.o -lbz2 -ledit -lutil -lcurses -lterminfo -lrmt -lcrypt -ll -lm -lz -llzma -lprop 66 67 # various files that we need in /etc for the install 68 COPY ${NETBSDSRCDIR}/etc/group etc/group 69 COPY ${NETBSDSRCDIR}/etc/master.passwd etc/master.passwd 70 COPY ${NETBSDSRCDIR}/etc/netconfig etc/netconfig 71 COPY ${DISTRIBDIR}/common/protocols etc/protocols 72 COPY ${DISTRIBDIR}/common/services etc/services 73 74 # we need the boot block in /usr/mdec + the MBR copy 75 COPY ${DESTDIR}/usr/mdec/boot usr/mdec/boot 76 COPY ${DESTDIR}/usr/mdec/bootxx_ffsv1 usr/mdec/bootxx_ffsv1 77 COPY ${DESTDIR}/usr/mdec/bootxx_ffsv2 usr/mdec/bootxx_ffsv2 78 COPY ${DESTDIR}/usr/mdec/bootxx_lfsv2 usr/mdec/bootxx_lfsv2 79 COPY ${DESTDIR}/usr/mdec/mbr usr/mdec/mbr 80 COPY ${DESTDIR}/usr/mdec/mbr_ext usr/mdec/mbr_ext 81 COPY ${DESTDIR}/usr/mdec/mbr_bootsel usr/mdec/mbr_bootsel 82 83 # and the boot script 84 COPY ${CURDIR}/../common/dot.profile .profile 85