From c1325100358ee12ea765d47c1df304320848c432 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 12 Aug 2015 12:53:17 +0200 Subject: reproducible freebsd: follow the docs and build in /usr/src --- hosts/freebsd-jenkins/usr/local/etc/sudoers | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'hosts') 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). -- cgit v1.2.3-70-g09d2