Re: [PATCH v2 07/22] dl: provide a fake grub_dl_set_persistent for the emu target

2021-07-12 Thread Stefan Berger
On 6/30/21 4:40 AM, Daniel Axtens wrote: Trying to start grub-emu with a module that calls grub_dl_set_persistent will crash because grub-emu fakes modules and passes NULL to the module init function. Provide an empty function for the emu case. Fixes: ee7808e2197c (dl: Add support for persiste

[PATCH v2 07/22] dl: provide a fake grub_dl_set_persistent for the emu target

2021-06-30 Thread Daniel Axtens
Trying to start grub-emu with a module that calls grub_dl_set_persistent will crash because grub-emu fakes modules and passes NULL to the module init function. Provide an empty function for the emu case. Fixes: ee7808e2197c (dl: Add support for persistent modules) Signed-off-by: Daniel Axtens --