summaryrefslogtreecommitdiff
path: root/distrib/sgi/iso/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/sgi/iso/Makefile')
-rw-r--r--distrib/sgi/iso/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/distrib/sgi/iso/Makefile b/distrib/sgi/iso/Makefile
index 7689559e9f8..a3e859b011d 100644
--- a/distrib/sgi/iso/Makefile
+++ b/distrib/sgi/iso/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.20 2014/01/12 21:58:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.21 2014/01/24 00:34:22 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -89,17 +89,15 @@ ${CDROM}:
ln ${.OBJDIR}/cd-dir/boot32 ${.OBJDIR}/cd-dir/boot-IP32
cp -p ${BASE} ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}
+ cp -p ${XBASE} ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}
+ cp -p ${RELDIR}/.i-SHA256 ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/SHA256
+ cp -p ${RELDIR}/.i-SHA256.sig ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/SHA256.sig
.for IP in ${ALLIP}
ln -f ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/bsd.rd.IP${IP} \
${.OBJDIR}/cd-dir/bsd.rd.IP${IP}
.endfor
- cp -p ${XBASE} ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}
-
- cat ${RELDIR}/SHA256 ${RELXDIR}/SHA256 > \
- ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}/SHA256
-
umount ${.OBJDIR}/cd-dir
# Summary
@@ -110,11 +108,6 @@ ${CDROM}:
install:
cp ${CDROM} ${RELDIR}/
- # update the SHA256 file
- grep -v ${CDROM} ${RELDIR}/SHA256 > ${RELDIR}/SHA256.new
- sum -a sha256 ${CDROM} >> ${RELDIR}/SHA256.new
- sort ${RELDIR}/SHA256.new > ${RELDIR}/SHA256
- rm ${RELDIR}/SHA256.new
unconfig:
-umount /mnt