From 8ae3c292e39856901d86eae8aea2e9e16b117f19 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 20 Sep 2023 20:58:47 +0100 Subject: [PATCH] meson: relax ukify requirements 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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 702eaaf652e..bf25bcba43e 100644 --- a/meson.build +++ b/meson.build @@ -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) ############################################################ -- 2.47.3