mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
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.
This commit is contained in:
parent
67bc612cbc
commit
8ae3c292e3
|
@ -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)
|
||||
|
||||
############################################################
|
||||
|
|
Loading…
Reference in a new issue