mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
kernel-install/60-ukify: also search in {/run,/usr/local/lib}/kernel/
After db26d8025e,
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...
This commit is contained in:
@@ -150,7 +150,11 @@ def input_file_location(
|
||||
|
||||
|
||||
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]:
|
||||
|
||||
Reference in New Issue
Block a user