diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-10-05 17:01:21 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-10-09 20:36:57 +0200 |
commit | 224aa31f4a0499bfacab07f22d2114fca555da29 (patch) | |
tree | 630e4b9c2e80d65cb9e438e54180fffaebfc8b7d /src/ukify | |
parent | ukify: Introduce resolve_at_path() (diff) | |
download | systemd-224aa31f4a0499bfacab07f22d2114fca555da29.tar.xz systemd-224aa31f4a0499bfacab07f22d2114fca555da29.zip |
ukify: Read .profile from path starting with @
Diffstat (limited to 'src/ukify')
-rwxr-xr-x | src/ukify/ukify.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py index 5f1b2c3e8c..2344282795 100755 --- a/src/ukify/ukify.py +++ b/src/ukify/ukify.py @@ -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 |