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.vax/Makefile.inc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'etc/etc.vax') diff --git a/etc/etc.vax/Makefile.inc b/etc/etc.vax/Makefile.inc index 69171c06206..8cd8656c03e 100644 --- a/etc/etc.vax/Makefile.inc +++ b/etc/etc.vax/Makefile.inc @@ -1,9 +1,8 @@ -# $OpenBSD: Makefile.inc,v 1.6 2006/07/27 01:58:21 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.7 2009/04/17 03:58:54 deraadt Exp $ -.ifdef DESTDIR -snap_md: bsd bootblocks distrib +kernels: bsd bootblocks cp ${.CURDIR}/../sys/arch/vax/compile/GENERIC/bsd \ - ${DESTDIR}/snapshot/bsd + ${RELEASEDIR}/bsd bsd: cd ${.CURDIR}/../sys/arch/vax/conf && config GENERIC @@ -11,8 +10,8 @@ bsd: ${MAKE} clean && ${MAKE} depend && exec ${MAKE} bootblocks: - mopa.out ${DESTDIR}/usr/mdec/boot ${DESTDIR}/snapshot/boot.mop + mopa.out ${DESTDIR}/usr/mdec/boot ${RELEASEDIR}/boot.mop -.PHONY: bsd bootblocks +MDEXT= boot.mop -.endif # DESTDIR check +.PHONY: bsd bootblocks -- cgit v1.2.3