feat(install): Adds ubuntu armv7l support

Credits to https://github.com/gdachs.
Unfortunatly he didnt respond to my message.
But to give credits to, whos credits deserve.

Tested on an Odroid C1 with Ubuntu 20.04 on armv7l by gdachs.

See https://github.com/mainsail-crew/crowsnest/pull/32

Signed-off-by: Stephan Wendel <me@stephanwe.de>
This commit is contained in:
Stephan Wendel 2022-09-13 18:24:51 +02:00
parent dabb66c992
commit ee59a12d59
No known key found for this signature in database
GPG Key ID: F465B83ACBA45639

@ -127,6 +127,19 @@ function import_config {
return 0
fi
## Ubuntu ARM (armv7l) tested on v20.04
# Thanks to https://github.com/gdachs
# To my sadness he didnt make wanted changes in
# https://github.com/mainsail-crew/crowsnest/pull/32
# But I appriciate your work, thx gdachs!
if [ "$(uname -m)" == "armv7l" ] &&
[ "$(get_os_version ubuntu)" != "0" ] &&
[ -f "tools/config.buntu64" ]; then
# shellcheck disable=SC1091
source tools/config.buntu64
return 0
fi
## Ubuntu ARM (aarch64) tested on v22.04
if [ "$(uname -m)" == "aarch64" ] &&
[ "$(get_os_version ubuntu)" != "0" ] &&