diff options
author | Karel Kočí <karel.koci@nic.cz> | 2019-12-02 16:05:34 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2019-12-02 16:05:34 +0100 |
commit | e41677fbc662f5c0dda14534b682f38f29babef3 (patch) | |
tree | c7e018e6c79aeb9e0dcb3ad751a9591bb9a4872a /templates | |
parent | 012049df080aca7d676bfddbfce98430c478cfb1 (diff) | |
download | laminar-cnf-e41677fbc662f5c0dda14534b682f38f29babef3.tar.gz laminar-cnf-e41677fbc662f5c0dda14534b682f38f29babef3.tar.bz2 laminar-cnf-e41677fbc662f5c0dda14534b682f38f29babef3.zip |
templates/alpine.run: /dev/null no longer is present in archive
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 |