media to give some upcoming changes a chance of working.
Long discussions with todd and rpe
-# $OpenBSD: Makefile,v 1.9 2011/04/18 16:52:09 thib Exp $
+# $OpenBSD: Makefile,v 1.10 2014/01/12 21:57:59 deraadt Exp $
TOP= ${.CURDIR}/..
cp -p ${RELDIR}/boot ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}
cp -p ${RELDIR}/bootxx ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}
+ cat ${RELDIR}/SHA256 ${RELXDIR}/SHA256 > \
+ ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/SHA256
+
(mkhybrid -a -R -v -v -T -L -d -D -N -o ${.OBJDIR}/${CDROM} \
-A "OpenBSD ${OSREV} ${MACHINE} Install CD" \
-P "Copyright (c) `date +%Y` Theo de Raadt, The OpenBSD project" \
-# $OpenBSD: Makefile,v 1.6 2010/10/18 05:40:47 deraadt Exp $
+# $OpenBSD: Makefile,v 1.7 2014/01/12 21:58:00 deraadt Exp $
TOP= ${.CURDIR}/..
cp -p ${RELDIR}/cdbr ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}
cp -p ${RELDIR}/cdboot ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/cdboot
+ cat ${RELDIR}/SHA256 ${RELXDIR}/SHA256 > \
+ ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/SHA256
+
mkhybrid -a -R -T -L -l -d -D -N -o ${.OBJDIR}/${CDROM} -v -v \
-A "OpenBSD ${OSREV} ${MACHINE} Install CD" \
-P "Copyright (c) `date +%Y` Theo de Raadt, The OpenBSD project" \
-# $OpenBSD: Makefile,v 1.9 2011/04/18 16:52:09 thib Exp $
+# $OpenBSD: Makefile,v 1.10 2014/01/12 21:58:00 deraadt Exp $
TOP= ${.CURDIR}/..
cp -p ${BASE} ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}
cp -p ${XBASE} ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}
+ cat ${RELDIR}/SHA256 ${RELXDIR}/SHA256 > \
+ ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/SHA256
+
ln -f ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/bsd.rd \
${.OBJDIR}/cd-dir/bsd.rd
-# $OpenBSD: Makefile,v 1.6 2010/10/18 05:40:47 deraadt Exp $
+# $OpenBSD: Makefile,v 1.7 2014/01/12 21:58:00 deraadt Exp $
TOP= ${.CURDIR}/..
cp -p ${RELDIR}/cdbr ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}
cp -p ${RELDIR}/cdboot ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/cdboot
+ cat ${RELDIR}/SHA256 ${RELXDIR}/SHA256 > \
+ ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/SHA256
+
mkhybrid -a -R -T -L -l -d -D -N -o ${.OBJDIR}/${CDROM} -v -v \
-A "OpenBSD ${OSREV} ${MACHINE} Install CD" \
-P "Copyright (c) `date +%Y` Theo de Raadt, The OpenBSD project" \
-# $OpenBSD: Makefile,v 1.8 2010/10/18 05:40:47 deraadt Exp $
+# $OpenBSD: Makefile,v 1.9 2014/01/12 21:58:00 deraadt Exp $
TOP= ${.CURDIR}/..
${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}
cp -p ${RELDIR}/ofwboot ${.OBJDIR}/cd-dir/
+ cat ${RELDIR}/SHA256 ${RELXDIR}/SHA256 > \
+ ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/SHA256
+
mkhybrid -v -v -r -part -hfs \
-hfs-bless ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE} \
-map ${.CURDIR}/../../../gnu/usr.sbin/mkhybrid/src/more.mapping \
-# $OpenBSD: Makefile,v 1.19 2014/01/06 21:03:13 miod Exp $
+# $OpenBSD: Makefile,v 1.20 2014/01/12 21:58:00 deraadt Exp $
TOP= ${.CURDIR}/..
cp -p ${XBASE} ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}
+ cat ${RELDIR}/SHA256 ${RELXDIR}/SHA256 > \
+ ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/SHA256
+
umount ${.OBJDIR}/cd-dir
# Summary
-# $OpenBSD: Makefile,v 1.9 2011/06/08 19:16:19 krw Exp $
+# $OpenBSD: Makefile,v 1.10 2014/01/12 21:58:00 deraadt Exp $
TOP= ${.CURDIR}/..
ln -f ${.OBJDIR}/cd-dir/bsd.rd ${.OBJDIR}/cd-dir/vmunix # for kicks
cp ${RELDIR}/boot ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}
+
+ cat ${RELDIR}/SHA256 ${RELXDIR}/SHA256 > \
+ ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/SHA256
+
cp ${RELDIR}/bootxx ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}
(mkhybrid -a -R -v -v -T -L -d -D -N -o ${.OBJDIR}/${CDROM} \
-# $OpenBSD: Makefile,v 1.11 2011/06/08 19:16:19 krw Exp $
+# $OpenBSD: Makefile,v 1.12 2014/01/12 21:58:00 deraadt Exp $
TOP= ${.CURDIR}/..
cp -p ${RELDIR}/ofwboot ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}
+ cat ${RELDIR}/SHA256 ${RELXDIR}/SHA256 > \
+ ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/SHA256
+
echo 'm 1 sun4' > ${.OBJDIR}/cd-dir/.slicemapfile
echo 'm 2 sun4c' >> ${.OBJDIR}/cd-dir/.slicemapfile
echo 'm 3 sun4m' >> ${.OBJDIR}/cd-dir/.slicemapfile
-# $OpenBSD: Makefile,v 1.9 2013/07/16 17:31:39 deraadt Exp $
+# $OpenBSD: Makefile,v 1.10 2014/01/12 21:58:00 deraadt Exp $
TOP= ${.CURDIR}/..
mkdir -p ${MOUNT_POINT}/${OSREV}/${MACHINE}
cp -p ${BASE} ${MOUNT_POINT}/${OSREV}/${MACHINE}
cp -p ${XBASE} ${MOUNT_POINT}/${OSREV}/${MACHINE}
+ cat ${RELDIR}/SHA256 ${RELXDIR}/SHA256 > \
+ ${MOUNT_POINT}/${OSREV}/${MACHINE}/SHA256
disklabel -B -b ${BOOTXX} ${VND}
@echo ""
@df -i ${MOUNT_POINT}