update requirements for kexec reboot

This commit is contained in:
Tobias Powalowski 2022-04-03 20:17:54 +02:00
parent 30e761337d
commit 2f772f384a

View file

@ -80,7 +80,7 @@ update_environment() {
else
detect_uefi_boot
UPDATE_ENVIRONMENT=""
if [[ -e "/usr/bin/update-installer.sh" && "${_DETECTED_UEFI_SECURE_BOOT}" == "0" && "${RUNNING_ARCH}" == "x86_64" ]]; then
if [[ "${_DETECTED_UEFI_SECURE_BOOT}" == "0" ]]; then
DIALOG --defaultno --yesno "Do you want to update the archboot environment to latest packages with caching packages for installation?\n\nATTENTION:\nRequires at least 2.6 GB RAM and will reboot the system using kexec!" 0 0 && UPDATE_ENVIRONMENT="1"
if [[ "${UPDATE_ENVIRONMENT}" == "1" ]]; then
DIALOG --infobox "Now setting up new archboot environment and dowloading latest packages.\n\nRunning at the moment: update-installer.sh -latest-install\nCheck ${LOG} for progress...\n\nGet a cup of coffee ...\nDepending on your system's setup this needs about 5 minutes. Please be patient." 0 0