remove latest option on riscv64

This commit is contained in:
Tobias Powalowski 2022-09-19 15:10:14 +02:00
parent 00e5b8a0fd
commit 109c43f487

View file

@ -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