]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: relax ukify requirements
authorLuca Boccassi <bluca@debian.org>
Wed, 20 Sep 2023 19:58:47 +0000 (20:58 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 21 Sep 2023 16:15:57 +0000 (18:15 +0200)
Installing ukify.py doesn't require a working UEFI architecture, but
only that the bootloader option is enabled (and python3). On Debian
Arch: all packages (like python scripts) can theorethically be built
on any builder with any architecture, so there's no guarantee that
it will actually be an EFI-enabled architecture to do that package build.

Relax the requirement to check only for the ukify config option.

meson.build

index 702eaaf652e19d96f0df337c5fed63f10933f1a8..bf25bcba43ed6fbe5a7d8ee538b08b9053d53530 100644 (file)
@@ -1783,9 +1783,7 @@ if have and efi_arch == 'x64' and cc.links('''
         efi_cpu_family_alt = 'x86'
 endif
 
-want_ukify = get_option('ukify').require(
-        python_39 and conf.get('ENABLE_BOOTLOADER') == 1,
-        error_message : 'Python >= 3.9 and -Dbootloader=true required').allowed()
+want_ukify = get_option('ukify').require(python_39, error_message : 'Python >= 3.9 required').allowed()
 conf.set10('ENABLE_UKIFY', want_ukify)
 
 ############################################################