From dbaa44bad779ba08fd66da8b9fe81624197a58a1 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 16 Oct 2015 15:24:28 +0200 Subject: 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 023c8a1d..0c919b54 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__ -- cgit v1.2.3-70-g09d2