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:
parent
dabb66c992
commit
ee59a12d59
@ -127,6 +127,19 @@ function import_config {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
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
|
## Ubuntu ARM (aarch64) tested on v22.04
|
||||||
if [ "$(uname -m)" == "aarch64" ] &&
|
if [ "$(uname -m)" == "aarch64" ] &&
|
||||||
[ "$(get_os_version ubuntu)" != "0" ] &&
|
[ "$(get_os_version ubuntu)" != "0" ] &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user