1 # $NetBSD: list.ramdisk,v 1.22 2012/06/17 14:59:15 martin 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_ext2fs 31 PROG sbin/mount_cd9660 32 PROG sbin/mount_ffs 33 # PROG sbin/mount_kernfs 34 PROG sbin/mount_msdos 35 PROG sbin/mount_nfs 36 PROG sbin/mount_tmpfs 37 PROG sbin/newfs sbin/mount_mfs 38 PROG sbin/newfs_ext2fs 39 PROG sbin/ping 40 PROG sbin/reboot sbin/halt 41 PROG sbin/route 42 PROG sbin/swapctl 43 PROG sbin/umount 44 45 PROG usr/bin/ftp 46 PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip 47 PROG usr/bin/sed 48 49 # One of these is rather useful 50 # PROG usr/bin/less usr/bin/more 51 # PROG usr/bin/more usr/bin/less 52 53 # sysinst doesn't use installboot 54 # PROG usr/sbin/installboot 55 56 PROG usr/sbin/chroot 57 58 SPECIAL ifconfig srcdir distrib/utils/x_ifconfig 59 SPECIAL ping srcdir distrib/utils/x_ping 60 SPECIAL route srcdir distrib/utils/x_route 61 # SPECIAL more srcdir distrib/utils/more 62 63 # init invokes the shell as -sh 64 ARGVLN sh -sh 65 66 # libhack.o is built by Makefile & included Makefile.inc 67 LIBS libhack.o -lbz2 -ledit -lutil -lcurses -lterminfo -lrmt -lcrypt -ll -lm -lz -llzma -lprop 68 69 # various files that we need in /etc for the install 70 COPY ${NETBSDSRCDIR}/etc/group etc/group 71 COPY ${NETBSDSRCDIR}/etc/master.passwd etc/master.passwd 72 COPY ${NETBSDSRCDIR}/etc/netconfig etc/netconfig 73 COPY ${DISTRIBDIR}/common/protocols etc/protocols 74 COPY ${DISTRIBDIR}/common/services etc/services 75 76 # we need the boot block in /usr/mdec + the MBR copy 77 COPY ${DESTDIR}/usr/mdec/boot usr/mdec/boot 78 COPY ${DESTDIR}/usr/mdec/bootxx_ffsv1 usr/mdec/bootxx_ffsv1 79 COPY ${DESTDIR}/usr/mdec/bootxx_ffsv2 usr/mdec/bootxx_ffsv2 80 COPY ${DESTDIR}/usr/mdec/bootxx_lfsv2 usr/mdec/bootxx_lfsv2 81 COPY ${DESTDIR}/usr/mdec/mbr usr/mdec/mbr 82 COPY ${DESTDIR}/usr/mdec/mbr_ext usr/mdec/mbr_ext 83 COPY ${DESTDIR}/usr/mdec/mbr_bootsel usr/mdec/mbr_bootsel 84 85 # and the boot script 86 COPY ${CURDIR}/../common/dot.profile .profile 87