diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-06-07 09:10:49 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-06-12 11:12:02 +0200 |
commit | b09a5315f5263b1e344e6612514e3ea08600f1d8 (patch) | |
tree | d835f18f0f22ddf64306ed6a6e56456048d1a6d5 /src/kernel-install | |
parent | ukify: split out iteration over phase path groups and keys (diff) | |
download | systemd-b09a5315f5263b1e344e6612514e3ea08600f1d8.tar.xz systemd-b09a5315f5263b1e344e6612514e3ea08600f1d8.zip |
ukify: move verb mangling to finalize_options()
This simplifies the logic: finalize_options() is the step that does the
checks and the mangling. The checks for consistency are done in more places,
so we need to pass a verb (we only have 'build', but once we add other verbs,
any would do).
Diffstat (limited to 'src/kernel-install')
-rwxr-xr-x | src/kernel-install/60-ukify.install.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel-install/60-ukify.install.in b/src/kernel-install/60-ukify.install.in index 0927bd7a2e..96ca2482b0 100755 --- a/src/kernel-install/60-ukify.install.in +++ b/src/kernel-install/60-ukify.install.in @@ -186,7 +186,7 @@ def call_ukify(opts): # Create "empty" namespace. We want to override just a few settings, so it # doesn't make sense to configure everything. We pretend to parse an empty # argument set to prepopulate the namespace with the defaults. - opts2 = ukify['create_parser']().parse_args(()) + opts2 = ukify['create_parser']().parse_args(['build']) opts2.config = config_file_location() opts2.uname = opts.kernel_version |