[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Arch Linux: another case where root is needed

Holger Levsen gitlab at salsa.debian.org
Sat Jan 12 20:47:28 GMT 2019


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


Commits:
05eae000 by Holger Levsen at 2019-01-12T20:47:21Z
reproducible Arch Linux: another case where root is needed

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

- - - - -


1 changed file:

- bin/reproducible_setup_archlinux_schroot.sh


Changes:

=====================================
bin/reproducible_setup_archlinux_schroot.sh
=====================================
@@ -110,7 +110,7 @@ echo ". /etc/profile.d/proxy.sh" | sudo tee -a $SCHROOT_BASE/$TARGET/root/.bashr
 $ROOTCMD bash -l -c 'pacman-key --init'
 $ROOTCMD bash -l -c 'pacman-key --populate archlinux'
 # use a specific mirror
-echo "Server = $ARCHLINUX_MIRROR/\$repo/os/\$arch" | tee -a $SCHROOT_BASE/$TARGET/etc/pacman.d/mirrorlist
+echo "Server = $ARCHLINUX_MIRROR/\$repo/os/\$arch" | $ROOTCMD tee -a $SCHROOT_BASE/$TARGET/etc/pacman.d/mirrorlist
 # enable multilib (by uncommenting the first two lines starting with the [multilib] section header)
 sudo sed -i '/\[multilib\]/,+1{s/^#//}' $SCHROOT_BASE/$TARGET/etc/pacman.conf
 if [ "$HOSTNAME" = "profitbricks-build4-amd64" ] ; then



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/05eae000a4dec91fb479749c946e8d5ee92e9b39

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/05eae000a4dec91fb479749c946e8d5ee92e9b39
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/20190112/f7f91e4f/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list