[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian live build: run 'lb build' with sudo

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Jun 15 16:39:26 BST 2021



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
b777f20e by Holger Levsen at 2021-06-15T17:37:47+02:00
reproducible Debian live build: run 'lb build' with sudo

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


2 changed files:

- bin/reproducible_debian_live_build.sh
- + hosts/osuosl173-amd64/etc/sudoers.d/live-build


Changes:

=====================================
bin/reproducible_debian_live_build.sh
=====================================
@@ -45,7 +45,7 @@ if [ "$RESULT" != "0" ] ; then
 fi
 
 # build
-lb build | tee -a $LB_OUTPUT
+sudo lb build | tee -a $LB_OUTPUT
 RESULT=$?
 if [ "$RESULT" != "0" ] ; then
    output_echo "Warning: lb config filed with $RESULT"


=====================================
hosts/osuosl173-amd64/etc/sudoers.d/live-build
=====================================
@@ -0,0 +1 @@
+jenkins ALL=(root) NOPASSWD: /usr/bin/lb build



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b777f20eca1581a376d0595b4a645ebb990856e7

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b777f20eca1581a376d0595b4a645ebb990856e7
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20210615/ba187ee5/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list