diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2024-10-13 11:20:45 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2024-11-17 08:54:01 +0100 |
commit | 80d01ce607cbffd8fa6ceb8a91ce07667bc51d5a (patch) | |
tree | 05beb457e3e6cadaff4931c59872f568fb31fdfc /scripts/bpf_doc.py | |
parent | e6384c398459c40e9304fbb478079884a5967bd4 (diff) |
efi/libstub: Fix command line fallback handling when loading files
CONFIG_CMDLINE, when set, is supposed to serve either as a fallback when
no command line is provided by the bootloader, or to be taken into account
unconditionally, depending on the configured options.
The initrd and dtb loader ignores CONFIG_CMDLINE in either case, and
only takes the EFI firmware provided load options into account. This
means that configuring the kernel with initrd= or dtb= on the built-in
command line does not produce the expected result.
Fix this by doing a separate pass over the built-in command line when
dealing with initrd= or dtb= options.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions