From f67358c9b2366feeb06b91f05f14aa417804a9a9 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 23 Sep 2016 16:27:41 +0200 Subject: reproducible F-Droid: add new host, profitbricks-build7-amd64 to build F-Droid on a stretch system --- hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins (limited to 'hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins') diff --git a/hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins new file mode 100644 index 00000000..fa4778f6 --- /dev/null +++ b/hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins @@ -0,0 +1,19 @@ +jenkins ALL= \ + NOPASSWD: /usr/sbin/debootstrap *, \ + /usr/bin/tee /schroots/*, \ + /usr/bin/tee -a /schroots/*, \ + /usr/bin/tee /etc/schroot/chroot.d/jenkins*, \ + /bin/chmod +x /schroots/*, \ + /usr/sbin/chroot /schroots/*, \ + /bin/rm -rf --one-file-system /schroots/*, \ + /bin/rm -rf --one-file-system /srv/live-build/*, \ + /bin/mv /schroots/* /schroots/*, \ + /bin/umount -l /schroots/*, \ + /bin/mount --bind *, \ + /usr/bin/killall timeout, \ + /usr/sbin/slay 1111, \ + /usr/sbin/slay 2222, \ + /usr/sbin/slay jenkins + +# keep these environment variables +Defaults env_keep += "http_proxy", env_reset -- cgit v1.2.3-70-g09d2