diff options
author | Karel Kočí <karel.koci@nic.cz> | 2019-12-02 17:28:25 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-01-22 20:21:12 +0100 |
commit | 4c402e7f89de109ee3f1dff8606a1443f07e63cc (patch) | |
tree | 13a0df9dc7ee4d78a8f3d2136d47d8098b112f2a /templates | |
parent | bfba913b3f471647d6104e66ccae3a51f7b4db1b (diff) | |
download | laminar-cnf-4c402e7f89de109ee3f1dff8606a1443f07e63cc.tar.gz laminar-cnf-4c402e7f89de109ee3f1dff8606a1443f07e63cc.tar.bz2 laminar-cnf-4c402e7f89de109ee3f1dff8606a1443f07e63cc.zip |
templates/alpine.run: fix source for root fs
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/alpine.run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/alpine.run b/templates/alpine.run index 9af4a52..e21958a 100755 --- a/templates/alpine.run +++ b/templates/alpine.run @@ -27,7 +27,7 @@ mkdir -p "$TWORKSPACE/distfiles" "$WORKSPACE/packages" if [ ! -d "$ROOT" ]; then # Prepare new root if there is none - rootfs="$(curl http://dl-cdn.alpinelinux.org/alpine/edge/releases/x86_64/latest-releases.yaml | \ + rootfs="$(curl "http://dl-cdn.alpinelinux.org/alpine/edge/releases/$ARCH/latest-releases.yaml" | \ yq -r 'map(select(.flavor == "alpine-minirootfs")) | .[0].file')" echo_stage "Setting up new root" wget "http://dl-cdn.alpinelinux.org/alpine/edge/releases/$ARCH/$rootfs" -O alpine.tar.gz |