diff options
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/alpine.run | 4 |
1 files changed, 1 insertions, 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 <<EOF set -e |