From 109c43f487c71daf6f14c8459bd5b04086faefac Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Mon, 19 Sep 2022 15:10:14 +0200 Subject: [PATCH] remove latest option on riscv64 --- usr/lib/archboot/update-installer.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr/lib/archboot/update-installer.sh b/usr/lib/archboot/update-installer.sh index 0b044d9ff..6a1a35ff6 100644 --- a/usr/lib/archboot/update-installer.sh +++ b/usr/lib/archboot/update-installer.sh @@ -77,8 +77,10 @@ usage () { else # latest image if [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 1970000 ]]; then - echo -e " \033[1m-latest\033[0m Launch latest archboot environment (using kexec)." - echo "" + if ! [[ "${_RUNNING_ARCH}" == "riscv64" ]]; then + echo -e " \033[1m-latest\033[0m Launch latest archboot environment (using kexec)." + echo "" + fi fi if [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 2571000 ]]; then _latest_install