diff options
| author | Heinrich Schuchardt <[email protected]> | 2024-05-24 14:54:26 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2024-06-10 11:43:36 +0200 |
| commit | bf03333d09669371ed2ee90a8ccddccc7d8aaa24 (patch) | |
| tree | 00bcfaae206b6b59b24750ef096867019274c8a6 /lib/efi_loader/efi_boottime.c | |
| parent | 4f836fb324ba500ecabdba4146c3ca9e1600cdf5 (diff) | |
efi_loader: allow concatenation with contained end node
Allow appending a device-path to a device-path that contains an end node
as separator. We need this feature for creating boot options specifying
kernel, initrd, and dtb.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'lib/efi_loader/efi_boottime.c')
| -rw-r--r-- | lib/efi_loader/efi_boottime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 1951291747c..630c5f52c4f 100644 --- a/lib/efi_loader/efi_boottime.c +++ b/lib/efi_loader/efi_boottime.c @@ -1816,7 +1816,7 @@ efi_status_t efi_setup_loaded_image(struct efi_device_path *device_path, if (device_path) { info->device_handle = efi_dp_find_obj(device_path, NULL, NULL); - dp = efi_dp_concat(device_path, file_path, false); + dp = efi_dp_concat(device_path, file_path, 0); if (!dp) { ret = EFI_OUT_OF_RESOURCES; goto failure; |
