On 07/14/2016 12:49 PM, Leandro Gustavo Biss Becker wrote:
Analyzing the source code for both versions, I found an interesting change on 
grub-core\loader\efi\chainloader.c:382 ( I do not know if this change is 
broking what I need). In the newer version of grub, there is a call to 
grub_device_close(dev), so I'm wondering if this is causing the custom 
application to fail opening UEFI Network Protocols.


I'm not a grub developer, so I'm not familiar with the code, but you probably want to look at pxechainloader.c and the pxe.c file in the drivers directory. don't see the change that broke things, but it looks to me like grub_pxe_shutdown needs to be called with the GRUB_LOADER_FLAG_PXE_NOT_UNLOAD flag, and nothing is setting that. In pxechainloader.c, the grub_pxechain_unload is registered with that flag.

I don't have enough time to chase this down further, but if you want to, maybe start there.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to