2009-09-25 18:09:27 +04:00
|
|
|
# $NetBSD: Makefile.cdrom,v 1.13 2009/09/25 14:09:27 christos Exp $
|
2008-05-03 03:13:05 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2009-03-07 23:19:45 +03:00
|
|
|
SYSINSTDIR!= cd ${.CURDIR}/../../../utils/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
|
2008-12-02 13:48:21 +03:00
|
|
|
|
2008-11-21 18:49:51 +03:00
|
|
|
# Need multidot for the boot loader to read kernel modules as it doesn't
|
|
|
|
# understand rockridge.
|
|
|
|
CDMAKEFSOPTIONS= bootimage=i386;bootxx.${MACHINE},no-emul-boot,allow-multidot
|
|
|
|
CDINSTKERNEL= ../../instkernel
|
|
|
|
CDKERNELS= netbsd-GENERIC.gz netbsd
|
|
|
|
CDRELEASE_NOISOS= true
|
2007-03-07 00:52:44 +03:00
|
|
|
|
2008-11-21 18:49:51 +03:00
|
|
|
CDRUNTIME+= ./bin
|
|
|
|
CDRUNTIME+= ./dev/MAKEDEV
|
|
|
|
CDRUNTIME+= ./etc
|
|
|
|
CDRUNTIME+= ./lib
|
|
|
|
CDRUNTIME+= ./libexec
|
|
|
|
CDRUNTIME+= ./mnt
|
|
|
|
CDRUNTIME+= ./sbin
|
|
|
|
CDRUNTIME+= ./stand
|
|
|
|
CDRUNTIME+= ./tmp
|
|
|
|
CDRUNTIME+= ./usr/bin/ftp
|
|
|
|
CDRUNTIME+= ./usr/bin/gzip
|
|
|
|
CDRUNTIME+= ./usr/bin/less
|
|
|
|
CDRUNTIME+= ./usr/bin/more
|
|
|
|
CDRUNTIME+= ./usr/bin/netstat
|
|
|
|
CDRUNTIME+= ./usr/bin/progress
|
|
|
|
CDRUNTIME+= ./usr/bin/sed
|
|
|
|
CDRUNTIME+= ./usr/bin/tip
|
|
|
|
CDRUNTIME+= ./usr/bin/vmstat
|
|
|
|
CDRUNTIME+= ./usr/lib/libbz2.so*
|
|
|
|
CDRUNTIME+= ./usr/lib/libc.so*
|
|
|
|
CDRUNTIME+= ./usr/lib/libcurses.so*
|
|
|
|
CDRUNTIME+= ./usr/lib/libedit.so*
|
|
|
|
CDRUNTIME+= ./usr/lib/libkvm.so*
|
|
|
|
CDRUNTIME+= ./usr/lib/libtermcap.so*
|
|
|
|
CDRUNTIME+= ./usr/lib/libutil.so*
|
|
|
|
CDRUNTIME+= ./usr/lib/libz.so*
|
|
|
|
CDRUNTIME+= ./usr/libexec/ld.elf_so
|
|
|
|
CDRUNTIME+= ./usr/mdec
|
|
|
|
CDRUNTIME+= ./usr/sbin/chown
|
|
|
|
CDRUNTIME+= ./usr/sbin/chroot
|
|
|
|
CDRUNTIME+= ./usr/sbin/installboot
|
|
|
|
CDRUNTIME+= ./usr/sbin/wiconfig
|
|
|
|
CDRUNTIME+= ./usr/share/misc/termcap
|
2008-12-01 13:20:57 +03:00
|
|
|
|
|
|
|
image_md_pre:
|
2009-08-31 02:30:30 +04:00
|
|
|
${MKDIR} cdrom/etc
|
2008-12-03 18:24:40 +03:00
|
|
|
${CP} ${.CURDIR}/../../ramdisks/common/dot.profile cdrom/etc/rc
|
2009-09-25 18:09:27 +04:00
|
|
|
${ECHO} "" >> cdrom/etc/rc
|
|
|
|
${ECHO} "# exit to single user mode" >> cdrom/etc/rc
|
|
|
|
${ECHO} "exit 1" >> cdrom/etc/rc
|
2008-12-01 13:20:57 +03:00
|
|
|
${MKDIR} cdrom/mnt2 cdrom/targetroot
|
|
|
|
${CP} ${SYSINSTDIR}/sysinst cdrom
|
|
|
|
${CHMOD} ugo+rx cdrom/sysinst
|
|
|
|
${CP} ${SYSINSTDIR}/sysinstmsgs.?? cdrom
|