Merge pull request #4 from YunoHost/arm64

Fix image_builder for arm64
This commit is contained in:
yalh76 2022-09-11 17:16:15 +02:00 committed by GitHub
commit eefed3de5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ function get_arch()
{ {
local architecture local architecture
if uname -m | grep -q "arm64" || uname -m | grep -q "aarch64"; then if uname -m | grep -q "arm64" || uname -m | grep -q "aarch64"; then
architecture="aarch64" architecture="arm64"
elif uname -m | grep -q "64"; then elif uname -m | grep -q "64"; then
architecture="amd64" architecture="amd64"
elif uname -m | grep -q "86"; then elif uname -m | grep -q "86"; then