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