[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible arch: use /etc/profile.d/proxy.sh for all bash shells
Holger Levsen
holger at moszumanska.debian.org
Sat Oct 17 12:46:40 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit a908a7d4ab6aebc571880bb5190c992b977c5812
Author: Holger Levsen <holger at layer-acht.org>
Date: Sat Oct 17 14:45:50 2015 +0200
reproducible arch: use /etc/profile.d/proxy.sh for all bash shells
---
bin/reproducible_arch_schroot_setup.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/bin/reproducible_arch_schroot_setup.sh b/bin/reproducible_arch_schroot_setup.sh
index d9a78e3..6633346 100755
--- a/bin/reproducible_arch_schroot_setup.sh
+++ b/bin/reproducible_arch_schroot_setup.sh
@@ -79,6 +79,9 @@ tee $SCHROOT_BASE/$TARGET/etc/profile.d/proxy.sh <<-__END__
__END__
chmod 755 $SCHROOT_BASE/$TARGET/etc/profile.d/proxy.sh
+# configure root user to use this for shells and login shells…
+echo ". /etc/profile.d/proxy.sh" | tee -a $SCHROOT_BASE/$TARGET/root/.bashrc
+
# configure pacman
$ROOTCMD pacman-key --init
$ROOTCMD pacman-key --populate archlinux
@@ -93,6 +96,7 @@ echo 'jenkins ALL= NOPASSWD: /usr/sbin/pacman *' | $ROOTCMD tee -a /etc/sudoers
# configure jenkins user
$ROOTCMD mkdir /var/lib/jenkins
$ROOTCMD chown -R jenkins:jenkins /var/lib/jenkins
+echo ". /etc/profile.d/proxy.sh" | tee -a $SCHROOT_BASE/$TARGET/var/lib/jenkins/.bashrc
$USERCMD gpg --check-trustdb # first run will create ~/.gnupg/gpg.conf
$USERCMD gpg --recv-keys 0x091AB856069AAA1C
--
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