diff options
author | 2024-10-13 11:20:45 +0200 | |
---|---|---|
committer | 2024-11-17 08:54:01 +0100 | |
commit | 80d01ce607cbffd8fa6ceb8a91ce07667bc51d5a (patch) | |
tree | 05beb457e3e6cadaff4931c59872f568fb31fdfc /scripts/lib/kdoc/kdoc_parser.py | |
parent | efi/libstub: Parse builtin command line after bootloader provided one (diff) | |
download | wireguard-linux-80d01ce607cbffd8fa6ceb8a91ce07667bc51d5a.tar.xz wireguard-linux-80d01ce607cbffd8fa6ceb8a91ce07667bc51d5a.zip |
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/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions