From a5ac5a26b687c70a4ab1f33565c83d9552dc17d8 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 11 Dec 2022 16:57:51 +0100 Subject: [PATCH] allow on local image same memory barriers as latest image --- usr/lib/archboot/login.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/usr/lib/archboot/login.sh b/usr/lib/archboot/login.sh index 2f218bc64..7f2d0056e 100644 --- a/usr/lib/archboot/login.sh +++ b/usr/lib/archboot/login.sh @@ -95,15 +95,6 @@ elif [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e echo -e "\033[93m- Please add \033[1mmore\033[0m\033[93m than \033[1m2.0GB\033[0m\033[93m RAM.\033[0m" echo -e "\033[91mAborting ...\033[0m" _enter_shell -# local image, fail if less than 3.3GB RAM available -elif [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -lt 3277000 &&\ --e "/var/cache/pacman/pkg/archboot.db" ]]; then - _welcome - echo -e "\033[1m\033[91mMemory check failed:\033[0m" - echo -e "\033[91m- Not engough memory detected! \033[0m" - echo -e "\033[93m- Please add \033[1mmore\033[0m\033[93m than \033[1m3.3GB\033[0m\033[93m RAM.\033[0m" - echo -e "\033[91mAborting ...\033[0m" - _enter_shell elif [[ "$(uname -m)" == "aarch64" && "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 3610000 &&\ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -lt 4105000 ]]; then _welcome