Bug#1051981: R:e systemd-boot kernel postinst script calls ukify which requires python3
Alexandre Detiste
alexandre.detiste at gmail.com
Fri Sep 15 11:54:42 BST 2023
>A possible middle way could be to implement
>/usr/lib/kernel/install.d/60-ukify.install in shell, the script seems
> the script seems simple enough.
The little script load & call a much bigger one:
https://github.com/systemd/systemd/blob/main/src/ukify/ukify.py
>def call_ukify(opts):
> # Punish me harder.
> # We want this:
> # ukify = importlib.machinery.SourceFileLoader('ukify', UKIFY).load_module()
> # but it throws a DeprecationWarning.
> ...
> ukify = runpy.run_path(UKIFY, run_name='ukify')
Greetings
More information about the Pkg-systemd-maintainers
mailing list