diff options
author | Hans-Christoph Steiner <hans@eds.org> | 2017-02-15 09:26:31 +0100 |
---|---|---|
committer | Mattia Rizzolo <mattia@debian.org> | 2017-02-15 10:25:51 +0100 |
commit | 55af235ed4815d73139935611e1a973f7abc11f3 (patch) | |
tree | 4dd78b689245f3d9b11cdff31bcd7613a187363b | |
parent | 465f83ebfe3f1aaa2903a719e4509ac2fe66fe3b (diff) | |
download | jenkins.debian.net-55af235ed4815d73139935611e1a973f7abc11f3.tar.xz |
reproducible fdroid: only libvirt images need to be readable
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
-rwxr-xr-x | bin/reproducible_setup_fdroid_build_environment.sh | 6 | ||||
-rw-r--r-- | hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_setup_fdroid_build_environment.sh b/bin/reproducible_setup_fdroid_build_environment.sh index 51181885..b022e23c 100755 --- a/bin/reproducible_setup_fdroid_build_environment.sh +++ b/bin/reproducible_setup_fdroid_build_environment.sh @@ -36,9 +36,9 @@ if systemd-detect-virt -q ; then else echo "No virtualization is used." fi -sudo /bin/chmod -R a+rX /var/lib/libvirt/ -ls -ld /var/lib/libvirt -ls -l /var/lib/libvirt || echo no access +sudo /bin/chmod -R a+rX /var/lib/libvirt/images +ls -ld /var/lib/libvirt/images +ls -l /var/lib/libvirt/images || echo no access cat /etc/issue # the way we handle jenkins slaves doesn't copy the workspace to the slaves diff --git a/hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins index e039577f..a833adc0 100644 --- a/hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins +++ b/hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins @@ -14,7 +14,7 @@ jenkins ALL= \ /usr/sbin/slay 1111, \ /usr/sbin/slay 2222, \ /usr/sbin/slay jenkins, \ - /bin/chmod -R a+rX /var/lib/libvirt/ + /bin/chmod -R a+rX /var/lib/libvirt/images # keep these environment variables Defaults env_keep += "http_proxy", env_reset |