1 # $NetBSD: list.ramdisk,v 1.8 2008/11/04 14:21:39 joerg Exp $ 2 3 SRCDIRS usr.bin/less 4 SRCDIRS bin sbin usr.bin usr.sbin gnu/usr.bin 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/disklabel 22 PROG sbin/dmesg 23 PROG sbin/fsck 24 PROG sbin/fsck_ffs 25 PROG sbin/ifconfig 26 PROG sbin/init 27 PROG sbin/mknod 28 PROG sbin/mount 29 PROG sbin/mount_cd9660 30 PROG sbin/mount_ffs 31 # PROG sbin/mount_kernfs 32 PROG sbin/mount_msdos 33 PROG sbin/mount_nfs 34 PROG sbin/mount_tmpfs 35 PROG sbin/newfs sbin/mount_mfs 36 PROG sbin/ping 37 PROG sbin/reboot sbin/halt 38 PROG sbin/route 39 PROG sbin/swapctl 40 PROG sbin/umount 41 42 PROG usr/bin/ftp 43 PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip 44 PROG usr/bin/sed 45 46 # One of these is rather useful 47 # PROG usr/bin/less usr/bin/more 48 # PROG usr/bin/more usr/bin/less 49 50 # sysinst doesn't use installboot 51 # PROG usr/sbin/installboot 52 53 PROG usr/sbin/chown usr/bin/chgrp 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 -ltermcap -lrmt -lcrypt -ll -lm -lz -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 ${NETBSDSRCDIR}/etc/protocols etc/protocols 72 COPY ${NETBSDSRCDIR}/distrib/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/mbr usr/mdec/mbr 79 COPY ${DESTDIR}/usr/mdec/mbr_ext usr/mdec/mbr_ext 80 COPY ${DESTDIR}/usr/mdec/mbr_bootsel usr/mdec/mbr_bootsel 81 82 # and the common installation tools 83 COPY ${NETBSDSRCDIR}/distrib/common/termcap.mini usr/share/misc/termcap 84 85 # and the boot script 86 CMD sed -e "s/@BOOTMODEL@/${BOOTMODEL}/" < ${CURDIR}/../common/dot.profile > .profile 87 MTREE ./.profile type=file uname=root gname=wheel mode=0444 88