diff --git a/usr/lib/archboot/update-installer.sh b/usr/lib/archboot/update-installer.sh index b0a5f4834..b5e4426cb 100644 --- a/usr/lib/archboot/update-installer.sh +++ b/usr/lib/archboot/update-installer.sh @@ -255,6 +255,7 @@ _kexec () { sleep 2 rm /boot/"${VMLINUZ}" rm /initrd.img + find . -mindepth 1 -maxdepth 1 -exec rm -rf {} \; fi while pgrep -x kexec > /dev/null 2>&1; do sleep 1