efi_loader: create boot options without file path
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 11 Jun 2022 05:22:08 +0000 (05:22 +0000)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 12 Jun 2022 11:02:34 +0000 (13:02 +0200)
commit72fa9cd59edcf99cb32c05604d2a904018acd30a
treed2e3c21ced36d6bc1330d7860bce7e0d32415292
parent178667b34bf0aa5312727eba6612b3500adad4a3
efi_loader: create boot options without file path

Allow the efidebug command to create boot options without file path, e.g.

    efidebug boot add -b 0001 'short dev only' host 0:1 ''
    efidebug boot add -B 0002 'long dev only' host 0:1 ''

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_bootmgr.c
lib/efi_loader/efi_device_path.c