[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible arch: refactor and use newer bootstrap.tgz
Holger Levsen
holger at moszumanska.debian.org
Sat Oct 17 02:02:07 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 8e2c49cf50f9a79d3e6443c5322e145ecd428245
Author: Holger Levsen <holger at layer-acht.org>
Date: Sat Oct 17 03:16:01 2015 +0200
reproducible arch: refactor and use newer bootstrap.tgz
---
bin/reproducible_arch_schroot_setup.sh | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/bin/reproducible_arch_schroot_setup.sh b/bin/reproducible_arch_schroot_setup.sh
index 279720f..87fb4dc 100755
--- a/bin/reproducible_arch_schroot_setup.sh
+++ b/bin/reproducible_arch_schroot_setup.sh
@@ -14,14 +14,16 @@ common_init "$@"
# define URL for bootstrap.tgz
BOOTSTRAP_BASE=http://mirror.one.com/archlinux/iso/
-BOOTSTRAP_TAR_GZ=2015.08.01/archlinux-bootstrap-2015.08.01-x86_64.tar.gz
+BOOTSTRAP_DATE=2015.10.01
+BOOTSTRAP_TAR_GZ=$BOOTSTRAP_DATE/archlinux-bootstrap-$BOOTSTRAP_DATE-x86_64.tar.gz
+
bootstrap() {
echo "$(date -u) - downloading Archlinux bootstrap.tar.gz."
curl -O $BOOTSTRAP_BASE/$BOOTSTRAP_TAR_GZ
- tar xzf archlinux-bootstrap-2015.08.01-x86_64.tar.gz
+ tar xzf archlinux-bootstrap-$BOOTSTRAP_DATE-x86_64.tar.gz
mv root.x86_64/* $SCHROOT_TARGET || true # proc and sys have 0555 perms, thus mv will fail... also see below
- rm archlinux-bootstrap-2015.08.01-x86_64.tar.gz root.x86_64 -rf
+ rm archlinux-bootstrap-$BOOTSTRAP_DATE-x86_64.tar.gz root.x86_64 -rf
# write the schroot config
echo "$(date -u ) - writing schroot configuration for $TARGET."
sudo tee /etc/schroot/chroot.d/jenkins-"$TARGET" <<-__END__
--
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