[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible arch: correctly unpack the tar archive
Holger Levsen
holger at moszumanska.debian.org
Fri Oct 16 13:25:24 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 dbaa44bad779ba08fd66da8b9fe81624197a58a1
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Oct 16 15:24:28 2015 +0200
reproducible arch: correctly unpack the tar archive
---
bin/reproducible_arch_schroot_setup.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/reproducible_arch_schroot_setup.sh b/bin/reproducible_arch_schroot_setup.sh
index 023c8a1..0c919b5 100755
--- a/bin/reproducible_arch_schroot_setup.sh
+++ b/bin/reproducible_arch_schroot_setup.sh
@@ -16,7 +16,9 @@ bootstrap() {
echo "$(date -u) - downloading Archlinux bootstrap.tar.gz."
curl -O https://mirrors.kernel.org/archlinux/iso/2015.08.01/archlinux-bootstrap-2015.08.01-x86_64.tar.gz
tar xzf archlinux-bootstrap-2015.08.01-x86_64.tar.gz
- mv root.x86_64/ $SCHROOT_TARGET
+ mv root.x86_64/* $SCHROOT_TARGET
+ rmdir root.x86_64
+ rm archlinux-bootstrap-2015.08.01-x86_64.tar.gz
# 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