From e886d2ed5f458a1c669b7e01332cb294ae4cbdeb Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 17 Apr 2009 03:58:56 +0000 Subject: For SHA256 hashes to be ready to go onto the install media, we must build the sets before we build the media. While there we can get rid of DESTDIR/snapshot too, and simply install straight into RELEASEDIR. (This also ends up saving an astounding amount of traffic/latency in a nfs environment) --- distrib/mvme88k/ramdisk/Makefile | 8 +++++--- distrib/mvme88k/ramdisk/Makefile.inc | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'distrib/mvme88k') diff --git a/distrib/mvme88k/ramdisk/Makefile b/distrib/mvme88k/ramdisk/Makefile index e7662d452e9..2843107faf4 100644 --- a/distrib/mvme88k/ramdisk/Makefile +++ b/distrib/mvme88k/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.13 2009/04/12 16:12:53 deraadt Exp $ +# $OpenBSD: Makefile,v 1.14 2009/04/17 03:58:54 deraadt Exp $ TOP= ${.CURDIR}/.. @@ -64,8 +64,10 @@ unconfig: .PRECIOUS: ${IMAGE} +.ifdef RELEASEDIR install: - cp ${BSD_RD} ${DESTDIR}/snapshot/${BSD_RD} + cp ${BSD_RD} ${RELEASEDIR} +.endif ${CBIN}.conf: ${LISTS} awk -f ${UTILS}/makeconf.awk CBIN=${CBIN} ${LISTS} > ${CBIN}.conf @@ -80,7 +82,7 @@ do_files: mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \ REV=${REV} TARGDIR=${MOUNT_POINT} UTILS=${UTILS} \ - sh ${UTILS}/runlist.sh ${LISTS} + RELEASEDIR=${RELEASEDIR} sh ${UTILS}/runlist.sh ${LISTS} rm ${MOUNT_POINT}/${CBIN} clean cleandir: diff --git a/distrib/mvme88k/ramdisk/Makefile.inc b/distrib/mvme88k/ramdisk/Makefile.inc index 19a50719896..5e6ba3b0088 100644 --- a/distrib/mvme88k/ramdisk/Makefile.inc +++ b/distrib/mvme88k/ramdisk/Makefile.inc @@ -1,5 +1,5 @@ # -# $OpenBSD: Makefile.inc,v 1.9 2008/01/11 10:16:40 espie Exp $ +# $OpenBSD: Makefile.inc,v 1.10 2009/04/17 03:58:54 deraadt Exp $ # # TOP is assumed to be defined by Makefile including this one. @@ -33,7 +33,7 @@ do_files: mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \ TARGDIR=${MOUNT_POINT} UTILS=${UTILS} \ - sh ${UTILS}/runlist.sh ${LISTS} + RELEASEDIR=${RELEASEDIR} sh ${UTILS}/runlist.sh ${LISTS} rm ${MOUNT_POINT}/${CBIN} clean cleandir: -- cgit v1.2.3