summaryrefslogtreecommitdiffstats
path: root/hosts/freebsd-jenkins/usr/local/etc/sudoers
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-15 14:18:52 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-15 14:18:52 +0200
commit27de39f758494a8464dba0d7c52b5fc1569ad47f (patch)
treecfd5b338462262842b13638ef5b5e0d63fd7b4af /hosts/freebsd-jenkins/usr/local/etc/sudoers
parent7d51ec5dd19320e106b8c58e8b65aa59bd8be229 (diff)
downloadjenkins.debian.net-27de39f758494a8464dba0d7c52b5fc1569ad47f.tar.xz
reproducible freebsd: also run make installworld installkernel distribution
Diffstat (limited to 'hosts/freebsd-jenkins/usr/local/etc/sudoers')
-rw-r--r--hosts/freebsd-jenkins/usr/local/etc/sudoers8
1 files changed, 6 insertions, 2 deletions
diff --git a/hosts/freebsd-jenkins/usr/local/etc/sudoers b/hosts/freebsd-jenkins/usr/local/etc/sudoers
index 3c749c08..a658e049 100644
--- a/hosts/freebsd-jenkins/usr/local/etc/sudoers
+++ b/hosts/freebsd-jenkins/usr/local/etc/sudoers
@@ -46,7 +46,7 @@ Defaults env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR PACKAGEROOT PACKA
## Locale settings
Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
# for reproducible builds:
-Defaults env_keep += "TZ"
+Defaults env_keep += "TZ DESTDIR"
##
## Run X applications through sudo; HOME is used to find the
## .Xauthority file. Note that other programs use HOME to find
@@ -94,8 +94,12 @@ root ALL=(ALL) ALL
# for reproducible builds:
jenkins ALL= NOPASSWD: /usr/bin/make -j ? buildworld, \
/usr/bin/make -j ? buildkernel, \
+ /usr/bin/make -j ? installworld, \
+ /usr/bin/make -j ? installkernel, \
+ /usr/bin/make -j ? distribution, \
/bin/rm -r /usr/src /usr/obj, \
- /bin/rm -r /usr/obj/releasedir /usr/obj/destdir.*, \
+ /bin/rm -r /usr/obj/, \
+ /bin/mkdir /usr/obj, \
/bin/mkdir /usr/src /usr/obj, \
/usr/sbin/chown jenkins /usr/src /usr/obj