]> git.zerfleddert.de Git - m1-debian/commitdiff
wipe temporary grub clean
authorThomas Glanzmann <thomas@glanzmann.de>
Sat, 26 Feb 2022 16:02:37 +0000 (17:02 +0100)
committerThomas Glanzmann <thomas@glanzmann.de>
Sat, 26 Feb 2022 16:02:37 +0000 (17:02 +0100)
files/rc.local

index 22d1f240df8a770ad4180e750ce7220962f26f47..5e9642ecee41c995d20d4371ef8aaf7d92e6e153 100755 (executable)
@@ -95,6 +95,7 @@ EOF
 sub
 install_grub
 {
 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");
         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");
Impressum, Datenschutz