NetBSD/distrib/i386/floppies/common/list.ramdisk

32 lines
1.2 KiB
Plaintext

# $NetBSD: list.ramdisk,v 1.11 2003/11/30 14:58:05 dsl Exp $
SRCDIRS bin sbin usr.bin usr.sbin gnu/usr.bin
# init invokes the shell as -sh
ARGVLN sh -sh
# libhack.o is built by Makefile & included Makefile.inc
LIBS libhack.o -lbz2 -lutil -ll -lm
# various files that we need in /etc for the install
COPY ${NETBSDSRCDIR}/etc/group etc/group
COPY ${NETBSDSRCDIR}/etc/master.passwd etc/master.passwd
COPY ${NETBSDSRCDIR}/etc/netconfig etc/netconfig
COPY ${NETBSDSRCDIR}/etc/protocols etc/protocols
COPY ${NETBSDSRCDIR}/etc/services etc/services
# we need the boot block in /usr/mdec + the MBR copy
COPY ${DESTDIR}/usr/mdec/boot usr/mdec/boot
COPY ${DESTDIR}/usr/mdec/bootxx_ffsv1 usr/mdec/bootxx_ffsv1
COPY ${DESTDIR}/usr/mdec/bootxx_ffsv2 usr/mdec/bootxx_ffsv2
COPY ${DESTDIR}/usr/mdec/mbr usr/mdec/mbr
COPY ${DESTDIR}/usr/mdec/mbr_ext usr/mdec/mbr_ext
COPY ${DESTDIR}/usr/mdec/mbr_bootsel usr/mdec/mbr_bootsel
# and the common installation tools
COPY ${CURDIR}/../common/termcap.mini usr/share/misc/termcap
# and the boot script
CMD sed -e "s/@BOOTMODEL@/${BOOTMODEL}/" < ${CURDIR}/../common/dot.profile > .profile
MTREE ./.profile type=file uname=root gname=wheel mode=0444