summaryrefslogtreecommitdiff
path: root/etc/Makefile
diff options
context:
space:
mode:
authorMartin Natano <natano@cvs.openbsd.org>2016-10-06 15:37:43 +0000
committerMartin Natano <natano@cvs.openbsd.org>2016-10-06 15:37:43 +0000
commitd86ecc4963a794a41e1264be84544f49cd369fe3 (patch)
tree111b88d6bc766d4b1393ca4decbb3b63b9dc5206 /etc/Makefile
parent2d8a501118893ab41e2c9f1880d88aa5f2815e88 (diff)
Build kernels as root for now. Otherwise we run into permission issues
when the source tree is not owned by ${BUILDUSER}. ok deraadt
Diffstat (limited to 'etc/Makefile')
-rw-r--r--etc/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/Makefile b/etc/Makefile
index ee20368d6a8..1fd7a25a4af 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.437 2016/10/05 21:39:57 deraadt Exp $
+# $OpenBSD: Makefile,v 1.438 2016/10/06 15:37:42 natano Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@@ -252,13 +252,15 @@ release:
echo 'must be called by root' 2>&1; \
false; \
fi
- su ${BUILDUSER} -c 'exec ${MAKE} release-sets'
+ ${MAKE} release-sets
${MAKE} distrib
su ${BUILDUSER} -c 'exec ${MAKE} sha'
release-sets:
+ su ${BUILDUSER} -c 'exec ${MAKE} distribution'
+ ${MAKE} kernels
cd ${RELEASEDIR} && rm -f SHA256
- cd ../distrib/sets && exec sh maketars ${OSrev}
+ cd ../distrib/sets && exec su ${BUILDUSER} -c 'exec sh maketars ${OSrev}'
sha:
-cd ${RELEASEDIR}; \
@@ -266,8 +268,6 @@ sha:
cksum -a sha256 BUILDINFO INSTALL.`arch -ks` \
${ALL_KERNELS} ${MDEXT} ${MISETS} | sort > SHA256
-release-sets: distribution kernels
-
.endif
.endif # DESTDIR check