Commit 76335533 authored by Richard Mortier's avatar Richard Mortier
Browse files

dabuild: fix interpretation of `uname -m` on RPi; closes #41


Signed-off-by: Richard Mortier's avatarRichard Mortier <mort@cantab.net>
parent 50936533
......@@ -26,8 +26,8 @@ fi
## allow setting of arch by env variable
[ ! "$DABUILD_ARCH" ] && DABUILD_ARCH=$(uname -m)
case "$DABUILD_ARCH" in
x86|x86_64|aarch64|armhf|armv7) ;;
*) die "Unsupported arch \"$DABUILD_ARCH\" detected." ;;
x86|x86_64|aarch64|armv6|armv7|armv7l|armv8 ) ;;
* ) die "Unsupported arch \"$DABUILD_ARCH\" detected." ;;
esac
## use branch to figure out most appropriate alpine version
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment