From e41677fbc662f5c0dda14534b682f38f29babef3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 2 Dec 2019 16:05:34 +0100 Subject: templates/alpine.run: /dev/null no longer is present in archive --- templates/alpine.run | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/alpine.run b/templates/alpine.run index b0d61fd..e362c0c 100755 --- a/templates/alpine.run +++ b/templates/alpine.run @@ -32,10 +32,8 @@ if [ ! -d "$ROOT" ]; then echo_stage "Setting up new root" wget "http://dl-cdn.alpinelinux.org/alpine/edge/releases/$ARCH/$rootfs" -O alpine.tar.gz # TODO verify signature - gunzip alpine.tar.gz # tar is not able to change compressed files - tar -f alpine.tar --delete ./dev/null mkdir "$ROOT" - uroot tar -xf alpine.tar -C "$ROOT" + uroot tar -xzf alpine.tar -C "$ROOT" chmod 755 "$ROOT" # This is intentional, tar changes access rights MOUNT="" uchroot root <