summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2016-11-06 12:16:14 +0000
committertb <tb@openbsd.org>2016-11-06 12:16:14 +0000
commitc5285ba27198325ee15bfb45ad639242d48343de (patch)
treec34d693abc4a460885bd2d1ab39067b04cc6b920
parentRemove the single IDEA cipher suite. There is no good reason to support (diff)
downloadwireguard-openbsd-c5285ba27198325ee15bfb45ad639242d48343de.tar.xz
wireguard-openbsd-c5285ba27198325ee15bfb45ad639242d48343de.zip
Pass -peam to pax(1), so ownership and permissions that were set by
etc/Makefile during 'make distribution-etc-root-var' are explicitly honored on the build machine. ok rpe
-rw-r--r--distrib/sets/makeetcset5
1 files changed, 3 insertions, 2 deletions
diff --git a/distrib/sets/makeetcset b/distrib/sets/makeetcset
index 2c9a599e94b..76de05a82da 100644
--- a/distrib/sets/makeetcset
+++ b/distrib/sets/makeetcset
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: makeetcset,v 1.2 2014/09/11 16:59:50 rpe Exp $
+# $OpenBSD: makeetcset,v 1.3 2016/11/06 12:16:14 tb Exp $
#
# Copyright (c) 2014 Robert Peichaer <rpe@openbsd.org>
#
@@ -40,6 +40,7 @@ cd $CURDIR/etc
$MAKE DESTDIR=$ETCDIR distribution-etc-root-var
cd $ETCDIR
-find . \( -type f -o -type l \) -exec fgrep -hx {} $BASELISTS \; | pax -rw -d /
+find . \( -type f -o -type l \) -exec fgrep -hx {} $BASELISTS \; | \
+ pax -rw -d -peam /
exit 0