Skip to content

Commit

Permalink
build-image-distrobuilder: Handle armhf
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Apr 19, 2024
1 parent b12377f commit 00d523e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/build-image-distrobuilder
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ apt-get install --yes --no-install-recommends \
apt-get clean
# Install distrobuilder
curl -sL "https://go.dev/dl/go1.21.3.linux-\$(dpkg --print-architecture).tar.gz" | tar -zxv -C /usr/local/
GOARCH=\$(dpkg --print-architecture)
[ "\${GOARCH}" = "armhf" ] && GOARCH=armv6l
curl -sL "https://go.dev/dl/go1.21.3.linux-\${GOARCH}.tar.gz" | tar -zxv -C /usr/local/
export PATH=/usr/local/go/bin:\${PATH}
git clone https://github.com/lxc/distrobuilder --depth 1
cd distrobuilder
Expand Down

0 comments on commit 00d523e

Please sign in to comment.