1 1.16.12.2 martin # $NetBSD: Makefile,v 1.16.12.2 2020/04/13 07:45:37 martin Exp $ 2 1.1 bouyer CDBASE= vaxcd # gives ${CDBASE}.iso 3 1.16.12.2 martin CDRELEASE= true # include $RELEASEDIR/$RELEASEMACHINEDIR 4 1.16.12.2 martin CDDEV_POPULATE= true # populate /dev on the CD 5 1.16.12.1 christos CDRELEASE_NODEBUG= true 6 1.16.12.2 martin CDKERNELS= ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/netbsd-GENERIC.gz netbsd.gz 7 1.3 martin CDRELEASE_NOISOS=true 8 1.14 martin CD_SETS= base etc # no modules for VAX 9 1.1 bouyer 10 1.3 martin # for PRINTOBJDIR 11 1.3 martin .include <bsd.own.mk> 12 1.8 dholland SYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR} 13 1.3 martin 14 1.3 martin # prepare mutliuser install environment 15 1.3 martin image_md_pre: 16 1.1 bouyer ${RM} -f cdrom/boot 17 1.16 christos ${INSTALL} ${COPY} -m 0444 ${DESTDIR}/usr/mdec/boot cdrom/boot 18 1.1 bouyer ${RM} -f bootxx.${MACHINE} 19 1.16 christos ${INSTALL} ${COPY} -m 0444 ${DESTDIR}/usr/mdec/xxboot bootxx.${MACHINE} 20 1.14 martin ${RM} -f cdrom/etc/gettytab cdrom/etc/ttys cdrom/etc/rc 21 1.3 martin ${HOST_LN} -fs /tmp/gettytab cdrom/etc/gettytab 22 1.3 martin ${INSTALL} ${COPY} ${.CURDIR}/etc.ttys cdrom/etc/ttys 23 1.3 martin ${INSTALL} ${COPY} ${.CURDIR}/etc.rc cdrom/etc/rc 24 1.3 martin ${INSTALL} ${COPY} -m 0555 ${.CURDIR}/install.sh cdrom/install.sh 25 1.16 christos ${MKDIR} ${MKDIRPERM} cdrom/mnt2 cdrom/targetroot 26 1.15 martin ${INSTALL} ${COPY} ${SYSINSTDIR}/sysinstmsgs.?? cdrom/usr/share/sysinst/catalog/ 27 1.7 martin ${TOOL_GZIP} -d -f cdrom/netbsd.gz 28 1.1 bouyer 29 1.3 martin # make the CD bootable 30 1.1 bouyer image_md_post: 31 1.2 jmcneill ${TOOL_INSTALLBOOT} -m${MACHINE} ${CDIMAGE} bootxx.${MACHINE} 32 1.1 bouyer 33 1.1 bouyer .include "${.CURDIR}/../../../common/Makefile.bootcd" 34