From e4bb3bbfdd68aa39e8819f401b25aae744ba180c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 5 Oct 2014 02:26:06 +0200 Subject: reproducible: pbuilder setup: replace existing base.tgz only when a new one can be created --- etc/sudoers.d/jenkins | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') diff --git a/etc/sudoers.d/jenkins b/etc/sudoers.d/jenkins index be538c2d..acb0d142 100644 --- a/etc/sudoers.d/jenkins +++ b/etc/sudoers.d/jenkins @@ -27,6 +27,7 @@ jenkins ALL= \ /bin/cp -r /media/*, \ /bin/chown -R jenkins\:jenkins /var/lib/jenkins/jobs/*,\ SETENV: NOPASSWD: /usr/sbin/pbuilder *, \ + /bin/mv pbuilder/base-reproducible-new.tgz /var/cache/pbuilder/base-reproducible.tgz, \ /bin/rm /var/cache/pbuilder/base*.tgz, \ /bin/rm /var/cache/pbuilder/result/*, \ /usr/bin/dcmd rm *.changes, \ -- cgit v1.2.3-70-g09d2