1 # $NetBSD: list.ramdisk,v 1.12 2009/09/20 19:49:08 abs Exp $
4 SRCDIRS bin sbin usr.bin usr.sbin
6 # Programs for a minimal ramdisk image
15 PROG bin/pax usr/bin/tar
29 PROG sbin/mount_cd9660
31 # PROG sbin/mount_kernfs
35 PROG sbin/newfs sbin/mount_mfs
37 PROG sbin/reboot sbin/halt
43 PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip
46 # One of these is rather useful
47 # PROG usr/bin/less usr/bin/more
48 # PROG usr/bin/more usr/bin/less
50 # sysinst doesn't use installboot
51 # PROG usr/sbin/installboot
53 PROG usr/sbin/chown usr/bin/chgrp
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
61 # init invokes the shell as -sh
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
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
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
82 # and the common installation tools
83 COPY ${DISTRIBDIR}/common/termcap usr/share/misc/termcap
86 CMD sed -e "s/@BOOTMODEL@/${BOOTMODEL}/" < ${CURDIR}/../common/dot.profile > .profile
87 MTREE ./.profile type=file uname=root gname=wheel mode=0444