diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-10-16 15:24:28 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-10-16 15:24:28 +0200 |
commit | dbaa44bad779ba08fd66da8b9fe81624197a58a1 (patch) | |
tree | a98b05678edb411c15a6015a0ff0718f94131f87 /bin | |
parent | 6ad615189f665b852e4a0997c1b5f2fc70adeef2 (diff) | |
download | jenkins.debian.net-dbaa44bad779ba08fd66da8b9fe81624197a58a1.tar.xz |
reproducible arch: correctly unpack the tar archive
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_arch_schroot_setup.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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__ |