Given that my patch fixes the issue for me means:
This works:
grub_load_and_start_image(boot_image); grub_file_close (file); grub_loader_set (grub_chainloader_boot, grub_chainloader_unload, 0);
return 0;
This doesn't:
grub_file_close (file); grub_loader_set (grub_secureboot_chainloader_boot, grub_secureboot_chainloader_unload, 0); return 0;
I'm not that familiar with C but may be it has something to do with calling grub_file_close() before grub_loader_set()? I mean, hd0 is closed, will it work to call grub_load_and_start_image() later?
Given that my patch fixes the issue for me means:
This works:
grub_ load_and_ start_image( boot_image) ; file_close (file); loader_ set (grub_chainload er_boot, grub_chainloade r_unload, 0);
grub_
grub_
return 0;
This doesn't:
grub_ file_close (file); loader_ set (grub_secureboo t_chainloader_ boot,
grub_ secureboot_ chainloader_ unload, 0);
grub_
return 0;
I'm not that familiar with C but may be it has something to do with calling grub_file_close() before grub_loader_set()? I mean, hd0 is closed, will it work to call grub_load_ and_start_ image() later?