1 # $NetBSD: list.ramdisk,v 1.26 2015/10/07 14:09:05 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/gpt 27 PROG sbin/ifconfig 28 PROG sbin/init 29 PROG sbin/mknod 30 PROG sbin/mount 31 PROG sbin/mount_cd9660 32 PROG sbin/mount_ext2fs 33 PROG sbin/mount_ffs 34 # PROG sbin/mount_kernfs 35 PROG sbin/mount_msdos 36 PROG sbin/mount_nfs 37 PROG sbin/mount_tmpfs 38 PROG sbin/newfs sbin/mount_mfs 39 PROG sbin/newfs_ext2fs 40 PROG sbin/ping 41 PROG sbin/reboot sbin/halt 42 PROG sbin/route 43 PROG sbin/swapctl 44 PROG sbin/umount 45 46 PROG usr/bin/ftp 47 PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip 48 PROG 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) 55 PROG usr/sbin/installboot 56 57 PROG usr/sbin/chroot 58 59 SPECIAL gzip srcdir distrib/utils/x_gzip 60 SPECIAL ifconfig srcdir distrib/utils/x_ifconfig 61 SPECIAL ping srcdir distrib/utils/x_ping 62 SPECIAL route srcdir distrib/utils/x_route 63 # SPECIAL more srcdir distrib/utils/more 64 65 # init invokes the shell as -sh 66 ARGVLN sh -sh 67 68 # libhack.o is built by Makefile & included Makefile.inc 69 LIBS libhack.o -ledit -lutil -lcurses -lterminfo -lrmt -lcrypt -ll -lm -lz -lprop 70 71 # various files that we need in /etc for the install 72 COPY ${NETBSDSRCDIR}/etc/group etc/group 73 COPY ${NETBSDSRCDIR}/etc/master.passwd etc/master.passwd 74 COPY ${NETBSDSRCDIR}/etc/netconfig etc/netconfig 75 COPY ${DISTRIBDIR}/common/protocols etc/protocols 76 COPY ${DISTRIBDIR}/common/services etc/services 77 78 # we need the boot block in /usr/mdec + the MBR copy 79 COPY ${DESTDIR}/usr/mdec/boot usr/mdec/boot 80 COPY ${DESTDIR}/usr/mdec/bootxx_ffsv1 usr/mdec/bootxx_ffsv1 81 COPY ${DESTDIR}/usr/mdec/bootxx_ffsv2 usr/mdec/bootxx_ffsv2 82 COPY ${DESTDIR}/usr/mdec/bootxx_lfsv2 usr/mdec/bootxx_lfsv2 83 COPY ${DESTDIR}/usr/mdec/mbr usr/mdec/mbr 84 COPY ${DESTDIR}/usr/mdec/mbr_ext usr/mdec/mbr_ext 85 COPY ${DESTDIR}/usr/mdec/mbr_bootsel usr/mdec/mbr_bootsel 86 COPY ${DESTDIR}/usr/mdec/gptmbr.bin usr/mdec/gptmbr.bin 87 88 # and the boot script 89 COPY ${CURDIR}/../common/dot.profile .profile 90