mirror of https://github.com/ventoy/Ventoy.git
Update Super UEFIinSecureBoot Disk v3-2
This commit is contained in:
parent
7f2f845a68
commit
b4120c4079
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -495,6 +495,7 @@ static int VentoyProcSecureBoot(int SecureBoot)
|
||||||
fl_remove("/EFI/BOOT/grubx64.efi");
|
fl_remove("/EFI/BOOT/grubx64.efi");
|
||||||
fl_remove("/EFI/BOOT/grubx64_real.efi");
|
fl_remove("/EFI/BOOT/grubx64_real.efi");
|
||||||
fl_remove("/EFI/BOOT/MokManager.efi");
|
fl_remove("/EFI/BOOT/MokManager.efi");
|
||||||
|
fl_remove("/EFI/BOOT/mmx64.efi");
|
||||||
fl_remove("/ENROLL_THIS_KEY_IN_MOKMANAGER.cer");
|
fl_remove("/ENROLL_THIS_KEY_IN_MOKMANAGER.cer");
|
||||||
|
|
||||||
file = fl_fopen("/EFI/BOOT/BOOTX64.EFI", "wb");
|
file = fl_fopen("/EFI/BOOT/BOOTX64.EFI", "wb");
|
||||||
|
|
|
@ -727,6 +727,7 @@ int VentoyProcSecureBoot(BOOL SecureBoot)
|
||||||
fl_remove("/EFI/BOOT/grubx64.efi");
|
fl_remove("/EFI/BOOT/grubx64.efi");
|
||||||
fl_remove("/EFI/BOOT/grubx64_real.efi");
|
fl_remove("/EFI/BOOT/grubx64_real.efi");
|
||||||
fl_remove("/EFI/BOOT/MokManager.efi");
|
fl_remove("/EFI/BOOT/MokManager.efi");
|
||||||
|
fl_remove("/EFI/BOOT/mmx64.efi");
|
||||||
fl_remove("/ENROLL_THIS_KEY_IN_MOKMANAGER.cer");
|
fl_remove("/ENROLL_THIS_KEY_IN_MOKMANAGER.cer");
|
||||||
|
|
||||||
file = fl_fopen("/EFI/BOOT/BOOTX64.EFI", "wb");
|
file = fl_fopen("/EFI/BOOT/BOOTX64.EFI", "wb");
|
||||||
|
|
|
@ -312,6 +312,7 @@ static int secureboot_proc(char *disk, UINT64 part2start)
|
||||||
fl_remove("/EFI/BOOT/grubx64.efi");
|
fl_remove("/EFI/BOOT/grubx64.efi");
|
||||||
fl_remove("/EFI/BOOT/grubx64_real.efi");
|
fl_remove("/EFI/BOOT/grubx64_real.efi");
|
||||||
fl_remove("/EFI/BOOT/MokManager.efi");
|
fl_remove("/EFI/BOOT/MokManager.efi");
|
||||||
|
fl_remove("/EFI/BOOT/mmx64.efi");
|
||||||
fl_remove("/ENROLL_THIS_KEY_IN_MOKMANAGER.cer");
|
fl_remove("/ENROLL_THIS_KEY_IN_MOKMANAGER.cer");
|
||||||
|
|
||||||
file = fl_fopen("/EFI/BOOT/BOOTX64.EFI", "wb");
|
file = fl_fopen("/EFI/BOOT/BOOTX64.EFI", "wb");
|
||||||
|
|
Loading…
Reference in New Issue