diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-12 12:53:17 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-12 12:53:17 +0200 |
commit | c1325100358ee12ea765d47c1df304320848c432 (patch) | |
tree | f73f65325073f6ad5e884e1c5f7de8d351b129c8 /hosts | |
parent | 805573adbbe212329373712f0d50635d94066bf1 (diff) | |
download | jenkins.debian.net-c1325100358ee12ea765d47c1df304320848c432.tar.xz |
reproducible freebsd: follow the docs and build in /usr/src
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/freebsd-jenkins/usr/local/etc/sudoers | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hosts/freebsd-jenkins/usr/local/etc/sudoers b/hosts/freebsd-jenkins/usr/local/etc/sudoers index 3999cde4..6cbddda2 100644 --- a/hosts/freebsd-jenkins/usr/local/etc/sudoers +++ b/hosts/freebsd-jenkins/usr/local/etc/sudoers @@ -92,7 +92,10 @@ root ALL=(ALL) ALL # %sudo ALL=(ALL) ALL # for reproducible builds: -jenkins ALL= NOPASSWD: /usr/bin/make buildworld +jenkins ALL= NOPASSWD: /usr/bin/make buildworld, \ + rm -r /usr/src /usr/obj, \ + mkdir /usr/src /usr/obj, \ + chown jenkins /usr/src /usr/obj ## Uncomment to allow any user to run sudo if they know the password ## of the user they are running the command as (root by default). |