X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/076a268284d55cfd1735fc718903f064a986f110..0e5ff6f4ecaaaa1dfbfa932e12ed015ff46a6cd5:/files/rc.local 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");