From d41df2b23f17becec1f6a3b47a82925da9b0fa0c Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 3 Mar 2017 15:29:48 -0500 Subject: reproducible FreeBSD: copy packages back with a tar pipeline scp -r converts the latest symlink directory into a copy of the target directory, resulting in two copies of each package. Signed-off-by: Holger Levsen --- hosts/freebsd-jenkins/usr/local/etc/sudoers | 1 + 1 file changed, 1 insertion(+) (limited to 'hosts') diff --git a/hosts/freebsd-jenkins/usr/local/etc/sudoers b/hosts/freebsd-jenkins/usr/local/etc/sudoers index eb15bb18..79f1ed0c 100644 --- a/hosts/freebsd-jenkins/usr/local/etc/sudoers +++ b/hosts/freebsd-jenkins/usr/local/etc/sudoers @@ -110,6 +110,7 @@ jenkins ALL= NOPASSWD: /usr/bin/make -j ? buildworld, \ /usr/bin/find /srv/reproducible-results/* -newer /srv/reproducible-results/* -exec touch *, \ /usr/bin/find /srv/reproducible-results/* -print0, \ /usr/bin/tar --no-recursion --null -T - -cJf *.tar.xz, \ + /usr/bin/tar -C /usr/obj/usr/src -cf - repo \ /usr/sbin/service ntpd start, \ /usr/sbin/service ntpd stop, \ /usr/sbin/service ntpd status, \ -- cgit v1.2.3-70-g09d2