2012-12-21 22:11:10 +04:00
|
|
|
# $NetBSD: Makefile.cdrom,v 1.28 2012/12/21 18:13:22 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
|
2010-08-02 14:03:12 +04:00
|
|
|
CDRUNTIME+= ./libdata
|
2010-04-05 03:02:23 +04:00
|
|
|
CDRUNTIME+= ./libexec/ld.elf_so
|
|
|
|
CDRUNTIME+= ./libexec/lfs_cleanerd
|
|
|
|
CDRUNTIME+= ./libexec/dhcpcd-run-hooks
|
|
|
|
CDRUNTIME+= ./libexec/resolvconf/
|
2008-11-21 18:49:51 +03:00
|
|
|
CDRUNTIME+= ./mnt
|
|
|
|
CDRUNTIME+= ./sbin
|
|
|
|
CDRUNTIME+= ./stand
|
|
|
|
CDRUNTIME+= ./tmp
|
|
|
|
CDRUNTIME+= ./usr/bin/ftp
|
2010-04-19 08:41:36 +04:00
|
|
|
CDRUNTIME+= ./usr/bin/grep
|
2008-11-21 18:49:51 +03:00
|
|
|
CDRUNTIME+= ./usr/bin/gzip
|
|
|
|
CDRUNTIME+= ./usr/bin/less
|
|
|
|
CDRUNTIME+= ./usr/bin/more
|
|
|
|
CDRUNTIME+= ./usr/bin/netstat
|
|
|
|
CDRUNTIME+= ./usr/bin/progress
|
|
|
|
CDRUNTIME+= ./usr/bin/sed
|
2010-04-19 08:41:36 +04:00
|
|
|
CDRUNTIME+= ./usr/bin/sort
|
2008-11-21 18:49:51 +03:00
|
|
|
CDRUNTIME+= ./usr/bin/tip
|
2011-04-17 16:18:19 +04:00
|
|
|
CDRUNTIME+= ./usr/bin/tput
|
2008-11-21 18:49:51 +03:00
|
|
|
CDRUNTIME+= ./usr/bin/vmstat
|
|
|
|
CDRUNTIME+= ./usr/lib/libbz2.so*
|
|
|
|
CDRUNTIME+= ./usr/lib/libc.so*
|
|
|
|
CDRUNTIME+= ./usr/lib/libcurses.so*
|
|
|
|
CDRUNTIME+= ./usr/lib/libedit.so*
|
2011-06-18 18:47:36 +04:00
|
|
|
CDRUNTIME+= ./usr/lib/libgcc_s.so*
|
2010-08-02 14:03:12 +04:00
|
|
|
CDRUNTIME+= ./usr/lib/libintl.so*
|
2008-11-21 18:49:51 +03:00
|
|
|
CDRUNTIME+= ./usr/lib/libkvm.so*
|
2011-06-22 01:49:22 +04:00
|
|
|
CDRUNTIME+= ./usr/lib/liblzma.so*
|
2010-02-05 13:01:16 +03:00
|
|
|
CDRUNTIME+= ./usr/lib/libterminfo.so*
|
2008-11-21 18:49:51 +03:00
|
|
|
CDRUNTIME+= ./usr/lib/libutil.so*
|
|
|
|
CDRUNTIME+= ./usr/lib/libz.so*
|
2012-12-21 22:11:10 +04:00
|
|
|
.if (${MKCRYPTO} != "no")
|
|
|
|
CDRUNTIME+= ./usr/lib/libcrypto.so*
|
|
|
|
CDRUNTIME+= ./usr/lib/libssl.so*
|
|
|
|
.endif
|
2008-11-21 18:49:51 +03:00
|
|
|
CDRUNTIME+= ./usr/libexec/ld.elf_so
|
2010-04-19 08:41:36 +04:00
|
|
|
CDRUNTIME+= ./usr/libexec/getty
|
2008-11-21 18:49:51 +03:00
|
|
|
CDRUNTIME+= ./usr/mdec
|
|
|
|
CDRUNTIME+= ./usr/sbin/chroot
|
|
|
|
CDRUNTIME+= ./usr/sbin/installboot
|
|
|
|
CDRUNTIME+= ./usr/sbin/wiconfig
|
2012-06-04 03:19:09 +04:00
|
|
|
CDRUNTIME+= ./usr/share/misc/terminfo.cdb
|
2010-03-16 13:16:39 +03:00
|
|
|
CDRUNTIME+= ./usr/share/locale
|
2008-12-01 13:20:57 +03:00
|
|
|
|
|
|
|
image_md_pre:
|
2010-04-05 03:02:23 +04:00
|
|
|
${MKDIR} cdrom/libexec/dhcpcd-hooks
|
2011-01-27 18:34:38 +03:00
|
|
|
${INSTALL} ${COPY} ${.CURDIR}/../../../common/10-resolv.conf cdrom/libexec/dhcpcd-hooks
|
|
|
|
${INSTALL} ${COPY} ${.CURDIR}/../../../common/99-print-sysinst cdrom/libexec/dhcpcd-hooks
|
2009-08-31 02:30:30 +04:00
|
|
|
${MKDIR} cdrom/etc
|
2010-04-19 08:41:36 +04:00
|
|
|
${HOST_LN} -fs /tmp/gettytab cdrom/etc/gettytab
|
2010-04-23 18:10:19 +04:00
|
|
|
${INSTALL} ${COPY} ${.CURDIR}/../etc.ttys cdrom/etc/ttys
|
|
|
|
${INSTALL} ${COPY} ${.CURDIR}/../etc.rc cdrom/etc/rc
|
|
|
|
${INSTALL} ${COPY} -m 0555 ${.CURDIR}/../install.sh cdrom/install.sh
|
2008-12-01 13:20:57 +03:00
|
|
|
${MKDIR} cdrom/mnt2 cdrom/targetroot
|
2011-01-27 18:34:38 +03:00
|
|
|
${INSTALL} ${COPY} ${SYSINSTDIR}/sysinst cdrom
|
2008-12-01 13:20:57 +03:00
|
|
|
${CHMOD} ugo+rx cdrom/sysinst
|
2011-01-27 18:34:38 +03:00
|
|
|
${INSTALL} ${COPY} ${SYSINSTDIR}/sysinstmsgs.?? cdrom
|
2009-09-30 04:32:08 +04:00
|
|
|
${MKDIR} cdrom/var
|