]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ukify: Read .profile from path starting with @
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 5 Oct 2024 15:01:21 +0000 (17:01 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 9 Oct 2024 18:36:57 +0000 (20:36 +0200)
src/ukify/ukify.py

index 5f1b2c3e8c84fe935765ad8bc69633076d41e477..234428279590b119d955268aab19a6844d91e391 100755 (executable)
@@ -1898,6 +1898,8 @@ def finalize_options(opts: argparse.Namespace) -> None:
             '--sign-kernel requires either --secureboot-private-key= and --secureboot-certificate= (for sbsign) or --secureboot-certificate-name= (for pesign) to be specified'  # noqa: E501
         )
 
+    opts.profile = resolve_at_path(opts.profile)
+
     if opts.join_profiles and not opts.profile:
         # If any additional profiles are added, we need a base profile as well so add one if
         # one wasn't explicitly provided