Re: [PATCH 4/6 v2] efi_loader: Replace config option for initrd loading

2021-03-14 Thread Heinrich Schuchardt
On 3/13/21 10:47 PM, Ilias Apalodimas wrote: Up to now we install EFI_LOAD_FILE2_PROTOCOL to load an initrd unconditionally. Although we correctly return various EFI exit codes depending on the file status (i.e EFI_NO_MEDIA, EFI_NOT_FOUND etc), the kernel loader, only falls back to the cmdline in

Re: [PATCH 4/6 v2] efi_loader: Replace config option for initrd loading

2021-03-14 Thread Heinrich Schuchardt
On 3/13/21 10:47 PM, Ilias Apalodimas wrote: Up to now we install EFI_LOAD_FILE2_PROTOCOL to load an initrd unconditionally. Although we correctly return various EFI exit codes depending on the file status (i.e EFI_NO_MEDIA, EFI_NOT_FOUND etc), the kernel loader, only falls back to the cmdline in

Re: [PATCH 4/6 v2] efi_loader: Replace config option for initrd loading

2021-03-14 Thread Heinrich Schuchardt
On 3/13/21 10:47 PM, Ilias Apalodimas wrote: Up to now we install EFI_LOAD_FILE2_PROTOCOL to load an initrd unconditionally. Although we correctly return various EFI exit codes depending on the file status (i.e EFI_NO_MEDIA, EFI_NOT_FOUND etc), the kernel loader, only falls back to the cmdline in

[PATCH 4/6 v2] efi_loader: Replace config option for initrd loading

2021-03-13 Thread Ilias Apalodimas
Up to now we install EFI_LOAD_FILE2_PROTOCOL to load an initrd unconditionally. Although we correctly return various EFI exit codes depending on the file status (i.e EFI_NO_MEDIA, EFI_NOT_FOUND etc), the kernel loader, only falls back to the cmdline interpreted initrd if the protocol is not install