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/amd64/cdfs/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'distrib/amd64/cdfs/Makefile') diff --git a/distrib/amd64/cdfs/Makefile b/distrib/amd64/cdfs/Makefile index f3b47380b95..18b68f81792 100644 --- a/distrib/amd64/cdfs/Makefile +++ b/distrib/amd64/cdfs/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2005/03/11 15:40:58 deraadt Exp $ +# $OpenBSD: Makefile,v 1.6 2009/04/17 03:58:54 deraadt Exp $ TOP= ${.CURDIR}/.. @@ -25,8 +25,10 @@ ${CDROM}: -b ${OSREV}/amd64/cdbr -c ${OSREV}/amd64/boot.catalog \ ${.OBJDIR}/cd-dir +.ifdef RELEASEDIR install: - cp ${CDROM} ${DESTDIR}/snapshot + cp ${CDROM} ${RELEASEDIR} +.endif clean cleandir: /bin/rm -f ${CDROM} -- cgit v1.2.3