From f8c753e72a133f35bd2cdd33a37f24fb877f105b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 26 Aug 2015 01:32:10 +0200 Subject: reproducible freebsd: carefully craft our own tar.xz archives... --- hosts/freebsd-jenkins/usr/local/etc/sudoers | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'hosts/freebsd-jenkins/usr/local') diff --git a/hosts/freebsd-jenkins/usr/local/etc/sudoers b/hosts/freebsd-jenkins/usr/local/etc/sudoers index 9a139c68..e8bcd2bc 100644 --- a/hosts/freebsd-jenkins/usr/local/etc/sudoers +++ b/hosts/freebsd-jenkins/usr/local/etc/sudoers @@ -99,9 +99,14 @@ jenkins ALL= NOPASSWD: /usr/bin/make -j ? buildworld, \ /usr/bin/make -j ? distribution, \ /bin/rm -r /usr/src /usr/obj, \ /bin/rm -r /usr/obj, \ + /bin/rm -r /srv/reproducible-results/* /srv/reproducible-results/*.tar.xz, \ /bin/mkdir /usr/obj, \ /bin/mkdir /usr/src /usr/obj, \ - /usr/sbin/chown jenkins /usr/src /usr/obj + /usr/sbin/chown jenkins /usr/src /usr/obj, \ + /usr/bin/find /srv/reproducible-results/* -exec touch *, \ + /usr/bin/find /srv/reproducible-results/* -print0, \ + /usr/bin/tar --null -T - --no-recursion -cJf *.tar.xz + ## 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-54-g00ecf