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