summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2019-01-24 23:27:16 +0000
committernaddy <naddy@openbsd.org>2019-01-24 23:27:16 +0000
commit0765bb60df998f5dbd44c6761e96ffd230a7ba11 (patch)
tree79d704233dda7be0f6b6d7b2bf66408fab8e54d2
parentOpen and close listening sockets on localhost:53 depending on if we can (diff)
downloadwireguard-openbsd-0765bb60df998f5dbd44c6761e96ffd230a7ba11.tar.xz
wireguard-openbsd-0765bb60df998f5dbd44c6761e96ffd230a7ba11.zip
kernels in compile dirs are readonly, and the bsd.rd we created has
tracked that permission. Make the copy in $RELEASEDIR a+r ok deraadt@
-rw-r--r--distrib/arm64/ramdisk/Makefile3
-rw-r--r--distrib/armv7/ramdisk/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/distrib/arm64/ramdisk/Makefile b/distrib/arm64/ramdisk/Makefile
index 368693a3351..2f22ce6d087 100644
--- a/distrib/arm64/ramdisk/Makefile
+++ b/distrib/arm64/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2017/08/22 23:20:00 jsg Exp $
+# $OpenBSD: Makefile,v 1.4 2019/01/24 23:27:16 naddy Exp $
REV= ${OSrev}
@@ -79,6 +79,7 @@ clean cleandir:
.ifdef RELEASEDIR
install:
cp ${ALLBSDRD} ${RELEASEDIR}
+ cd ${RELEASEDIR} && chmod a+r ${ALLBSDRD}
.endif # RELEASEDIR
.include <bsd.obj.mk>
diff --git a/distrib/armv7/ramdisk/Makefile b/distrib/armv7/ramdisk/Makefile
index 8a31c944c19..09deb22e836 100644
--- a/distrib/armv7/ramdisk/Makefile
+++ b/distrib/armv7/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.17 2017/09/01 04:40:40 jsg Exp $
+# $OpenBSD: Makefile,v 1.18 2019/01/24 23:27:16 naddy Exp $
REV= ${OSrev}
@@ -83,6 +83,7 @@ clean cleandir:
.ifdef RELEASEDIR
install:
cp ${ALLBSDRD} ${RELEASEDIR}
+ cd ${RELEASEDIR} && chmod a+r ${ALLBSDRD}
.endif # RELEASEDIR
.include <bsd.obj.mk>