From bf8118457b97fac979d6ab0e5e1b95feb36419be Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 17 May 2022 22:36:11 +0200 Subject: [PATCH] try other kexec method --- usr/lib/archboot/update-installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/archboot/update-installer.sh b/usr/lib/archboot/update-installer.sh index 94060af2a..c37bf7cb5 100644 --- a/usr/lib/archboot/update-installer.sh +++ b/usr/lib/archboot/update-installer.sh @@ -233,8 +233,8 @@ _kexec() { kexec -s -f /"${VMLINUZ}" --initrd="/initrd.img" --reuse-cmdline # wait 2 seconds for getting a complete initramfs # remove kernel and initrd to save RAM for kexec in background - sleep 2 - rm /{initrd.img,${VMLINUZ}} + #sleep 2 + #rm /{initrd.img,${VMLINUZ}} #while pgrep -x kexec >/dev/null 2>&1; do # sleep 1 #done