Commit 0c6a4c82 authored by kpcyrd's avatar kpcyrd Committed by Holger Levsen

reproducible alpine: ensure target folder exists

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent a9debc77
...@@ -35,6 +35,7 @@ bootstrap() { ...@@ -35,6 +35,7 @@ bootstrap() {
curl -fO "$ALPINE_MIRROR/$LATEST_MINIROOT" curl -fO "$ALPINE_MIRROR/$LATEST_MINIROOT"
echo "$(date -u) - extracting alpine minirootfs" echo "$(date -u) - extracting alpine minirootfs"
mkdir -p "$SCHROOT_BASE/$TARGET.new"
sudo tar xzf "./$LATEST_MINIROOT" -C "$SCHROOT_BASE/$TARGET.new" sudo tar xzf "./$LATEST_MINIROOT" -C "$SCHROOT_BASE/$TARGET.new"
if [ -d "$SCHROOT_BASE/$TARGET" ]; then if [ -d "$SCHROOT_BASE/$TARGET" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment