commit | c7c0ca37673d8f1ae1c54dad1869101f566923f7 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat May 13 10:36:21 2023 +0200 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat May 13 11:09:51 2023 +0200 |
tree | 19719507f0910d6a23ec5a92b58b828527ef4134 | |
parent | e1273ea2ec0edfa5502b66b0b142efddd2ef8283 [diff] |
efi_loader: fix efi_dp_from_file() * When called from efi_dp_from_name() we miss to append the filename for non-block devices. * expand_media_path() could be simplified by using efi_dp_from_file to prepend the device path of the boot device. This can be avoided by passing a device path to efi_dp_from_file() instead of a block device descriptor and a partition number. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>