summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_setup_fdroid_build_environment.sh3
-rw-r--r--hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins3
2 files changed, 5 insertions, 1 deletions
diff --git a/bin/reproducible_setup_fdroid_build_environment.sh b/bin/reproducible_setup_fdroid_build_environment.sh
index efdeddd2..51181885 100755
--- a/bin/reproducible_setup_fdroid_build_environment.sh
+++ b/bin/reproducible_setup_fdroid_build_environment.sh
@@ -36,6 +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
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 fa4778f6..e039577f 100644
--- a/hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins
+++ b/hosts/profitbricks-build7-amd64/etc/sudoers.d/jenkins
@@ -13,7 +13,8 @@ jenkins ALL= \
/usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
- /usr/sbin/slay jenkins
+ /usr/sbin/slay jenkins, \
+ /bin/chmod -R a+rX /var/lib/libvirt/
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset