1 # $NetBSD: Makefile.cdrom,v 1.13 2009/09/25 14:09:27 christos Exp $
5 SYSINSTDIR!= cd ${.CURDIR}/../../../utils/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
7 # Need multidot for the boot loader to read kernel modules as it doesn't
8 # understand rockridge.
9 CDMAKEFSOPTIONS= bootimage=i386;bootxx.${MACHINE},no-emul-boot,allow-multidot
10 CDINSTKERNEL= ../../instkernel
11 CDKERNELS= netbsd-GENERIC.gz netbsd
12 CDRELEASE_NOISOS= true
15 CDRUNTIME+= ./dev/MAKEDEV
23 CDRUNTIME+= ./usr/bin/ftp
24 CDRUNTIME+= ./usr/bin/gzip
25 CDRUNTIME+= ./usr/bin/less
26 CDRUNTIME+= ./usr/bin/more
27 CDRUNTIME+= ./usr/bin/netstat
28 CDRUNTIME+= ./usr/bin/progress
29 CDRUNTIME+= ./usr/bin/sed
30 CDRUNTIME+= ./usr/bin/tip
31 CDRUNTIME+= ./usr/bin/vmstat
32 CDRUNTIME+= ./usr/lib/libbz2.so*
33 CDRUNTIME+= ./usr/lib/libc.so*
34 CDRUNTIME+= ./usr/lib/libcurses.so*
35 CDRUNTIME+= ./usr/lib/libedit.so*
36 CDRUNTIME+= ./usr/lib/libkvm.so*
37 CDRUNTIME+= ./usr/lib/libtermcap.so*
38 CDRUNTIME+= ./usr/lib/libutil.so*
39 CDRUNTIME+= ./usr/lib/libz.so*
40 CDRUNTIME+= ./usr/libexec/ld.elf_so
41 CDRUNTIME+= ./usr/mdec
42 CDRUNTIME+= ./usr/sbin/chown
43 CDRUNTIME+= ./usr/sbin/chroot
44 CDRUNTIME+= ./usr/sbin/installboot
45 CDRUNTIME+= ./usr/sbin/wiconfig
46 CDRUNTIME+= ./usr/share/misc/termcap
50 ${CP} ${.CURDIR}/../../ramdisks/common/dot.profile cdrom/etc/rc
51 ${ECHO} "" >> cdrom/etc/rc
52 ${ECHO} "# exit to single user mode" >> cdrom/etc/rc
53 ${ECHO} "exit 1" >> cdrom/etc/rc
54 ${MKDIR} cdrom/mnt2 cdrom/targetroot
55 ${CP} ${SYSINSTDIR}/sysinst cdrom
56 ${CHMOD} ugo+rx cdrom/sysinst
57 ${CP} ${SYSINSTDIR}/sysinstmsgs.?? cdrom