After
db26d8025e5bbc188f93b645124126bbc550caa5,
kernel-install takes config files under /run/
and /usr/local/lib/ into account too. The same
should apply to ukify.
Note that ukify when invoked alone searches under
/run/systemd/, /etc/systemd/, /usr/local/lib/systemd/,
and /usr/lib/systemd/, respectively, which is against
our usual order...
def uki_conf_location() -> Optional[Path]:
- return input_file_location('uki.conf')
+ return input_file_location('uki.conf',
+ '/etc/kernel',
+ '/run/kernel',
+ '/usr/local/lib/kernel',
+ '/usr/lib/kernel')
def devicetree_config_location() -> Optional[Path]: