Re: [PATCH] efi_loader: bootbin: do not load an initrd if none is provided

2025-04-28 Thread Adriano Cordova Fedeli
Thanks, I updated the patch and split it into two On Mon, 28 Apr 2025 at 10:32, Ilias Apalodimas wrote: > Hi Adriano, > > On Mon, 28 Apr 2025 at 02:45, Adriano Cordova wrote: > > > > Do not try to create an initrd device path nor try to register > > an initrd with the EFI_LOAD_FILE2_PROTOCOL if

Re: [PATCH] efi_loader: bootbin: do not load an initrd if none is provided

2025-04-28 Thread Ilias Apalodimas
Hi Adriano, On Mon, 28 Apr 2025 at 02:45, Adriano Cordova wrote: > > Do not try to create an initrd device path nor try to register > an initrd with the EFI_LOAD_FILE2_PROTOCOL if none is provided. > > Handle initrd installation in efi_binary_run_dp with > efi_install_initrd, imitating what is do

Re: [PATCH] efi_loader: bootbin: do not load an initrd if none is provided

2025-04-27 Thread Weizhao Ouyang
On Sun, Apr 27, 2025 at 07:45:26PM -0400, Adriano Cordova wrote: > Do not try to create an initrd device path nor try to register > an initrd with the EFI_LOAD_FILE2_PROTOCOL if none is provided. > > Handle initrd installation in efi_binary_run_dp with > efi_install_initrd, imitating what is done

[PATCH] efi_loader: bootbin: do not load an initrd if none is provided

2025-04-27 Thread Adriano Cordova
Do not try to create an initrd device path nor try to register an initrd with the EFI_LOAD_FILE2_PROTOCOL if none is provided. Handle initrd installation in efi_binary_run_dp with efi_install_initrd, imitating what is done for the fdt. Fixes: 36835a9105c ("efi_loader: binary_run: register an init