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