[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible fdroid: only libvirt images need to be readable

Mattia Rizzolo mattia at debian.org
Wed Feb 15 09:28:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository jenkins.debian.net.

commit 55af235ed4815d73139935611e1a973f7abc11f3
Author: Hans-Christoph Steiner <hans at eds.org>
Date:   Wed Feb 15 09:26:31 2017 +0100

    reproducible fdroid: only libvirt images need to be readable
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 bin/reproducible_setup_fdroid_build_environment.sh    | 6 +++---
 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 5118188..b022e23 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 e039577..a833adc 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list