IndexError in find_uki_entry
Possibly related to: https://github.com/projg2/installkernel-gentoo/issues/24
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.11/kernel-bootcfg", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/python3.11/site-packages/virt/firmware/bootcfg/main.py", line 271, in main
add_uki(cfg, options)
File "/usr/lib/python3.11/site-packages/virt/firmware/bootcfg/main.py", line 43, in add_uki
nr = cfg.find_uki_entry(efiuki.efi_filename())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/virt/firmware/bootcfg/bootcfg.py", line 105, in find_uki_entry
optpath = str(ucs16.from_ucs16(entry.optdata, 0)).split()[0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range