From: Daan De Meyer Date: Sat, 5 Oct 2024 15:01:21 +0000 (+0200) Subject: ukify: Read .profile from path starting with @ X-Git-Tag: v257-rc1~276^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=224aa31f4a0499bfacab07f22d2114fca555da29;p=thirdparty%2Fsystemd.git ukify: Read .profile from path starting with @ --- diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py index 5f1b2c3e8c8..23442827959 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