>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