diff options
-rw-r--r-- | distrib/i386/cdfs/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/distrib/i386/cdfs/Makefile b/distrib/i386/cdfs/Makefile index 12b3a866d8b..e210aaeac22 100644 --- a/distrib/i386/cdfs/Makefile +++ b/distrib/i386/cdfs/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.4 2004/03/11 22:16:50 deraadt Exp $ +# $OpenBSD: Makefile,v 1.5 2004/08/11 06:51:13 deraadt Exp $ TOP= ${.CURDIR}/.. .include "${TOP}/Makefile.inc" -CDFS= cdrom${REV}.fs +BSDRD= bsd.rd CDROM= cd${REV}.iso all: ${CDROM} @@ -12,13 +12,17 @@ all: ${CDROM} ${CDROM}: -rm -rf ${.OBJDIR}/cd-dir mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/i386 - cp ${.OBJDIR}/../ramdisk_cd/${CDFS} ${.OBJDIR}/cd-dir/${OSREV}/i386 - mkhybrid -a -R -T -L -d -D -N -o ${.OBJDIR}/${CDROM} -v -v \ + mkdir -p ${.OBJDIR}/cd-dir/etc + echo "set image /${OSREV}/i386/bsd.rd" > ${.OBJDIR}/cd-dir/etc/boot.conf + cp ${.OBJDIR}/../ramdisk_cd/${BSDRD} ${.OBJDIR}/cd-dir/${OSREV}/i386 + cp ${DESTDIR}/usr/mdec/cdbr ${.OBJDIR}/cd-dir/${OSREV}/i386 + cp ${DESTDIR}/usr/mdec/cdboot ${.OBJDIR}/cd-dir/cdboot + mkhybrid -a -R -T -L -l -d -D -N -o ${.OBJDIR}/${CDROM} -v -v \ -A "OpenBSD ${OSREV} i386 bootonly CD" \ -P "Copyright (c) 2004 Theo de Raadt, The OpenBSD project" \ -p "Theo de Raadt <deraadt@openbsd.org>" \ -V "OpenBSD/i386 ${OSREV} boot-only CD" \ - -b ${OSREV}/i386/${CDFS} -c ${OSREV}/i386/boot.catalog \ + -b ${OSREV}/i386/cdbr -c ${OSREV}/i386/boot.catalog \ ${.OBJDIR}/cd-dir install: |