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) --- etc/etc.aviion/Makefile.inc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'etc/etc.aviion') diff --git a/etc/etc.aviion/Makefile.inc b/etc/etc.aviion/Makefile.inc index 85ee7110a99..e9aba84aca8 100644 --- a/etc/etc.aviion/Makefile.inc +++ b/etc/etc.aviion/Makefile.inc @@ -1,9 +1,8 @@ -# $OpenBSD: Makefile.inc,v 1.2 2006/07/27 02:53:55 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.3 2009/04/17 03:58:53 deraadt Exp $ -.ifdef DESTDIR -snap_md: bsd bootblocks distrib +kernels: bsd bootblocks cp ${.CURDIR}/../sys/arch/aviion/compile/GENERIC/bsd \ - ${DESTDIR}/snapshot/bsd + ${RELEASEDIR}/bsd bsd: cd ${.CURDIR}/../sys/arch/aviion/conf && config GENERIC @@ -11,8 +10,8 @@ bsd: ${MAKE} clean && ${MAKE} depend && ${MAKE} bootblocks: - cp ${DESTDIR}/usr/mdec/* ${DESTDIR}/snapshot/ + cp ${DESTDIR}/usr/mdec/* ${RELEASEDIR}/ -.PHONY: bsd bootblocks +MDEXT= -.endif # DESTDIR check +.PHONY: bsd bootblocks -- cgit v1.2.3