From: Thomas Glanzmann Date: Sat, 26 Feb 2022 16:02:37 +0000 (+0100) Subject: wipe temporary grub clean X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/73dfd6987229baa2b514491550a97a5b3e6171ad wipe temporary grub clean --- diff --git a/files/rc.local b/files/rc.local index 22d1f24..5e9642e 100755 --- a/files/rc.local +++ b/files/rc.local @@ -95,6 +95,7 @@ EOF sub install_grub { + system('rm -rf /boot/efi/*'); system('apt-get install -y grub-efi-arm64-signed-'); system("echo 'grub-efi-arm64 grub2/update_nvram boolean false' | debconf-set-selections"); system("echo 'grub-efi-arm64 grub2/force_efi_extra_removable boolean true' | debconf-set-selections");