1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-13 17:18:18 +03:00

meson: Deal with potential stable versions

The meson.version file might contain e.g. 256.2~devel in a stable
branch so let's make sure we deal with that.

(cherry picked from commit 8b3b01c4b7)
This commit is contained in:
Daan De Meyer 2024-07-04 11:12:35 +02:00 committed by Luca Boccassi
parent 851f991b1c
commit 84d6fec8f9

View File

@ -388,8 +388,8 @@ foreach efi_elf_binary : efi_elf_binaries
install_tag : 'systemd-boot',
command : [
elf2efi_py,
'--version-major=' + meson.project_version().split('~')[0],
'--version-minor=0',
'--version-major=' + meson.project_version().split('.')[0].split('~')[0],
'--version-minor=' + meson.project_version().split('.')[-1].split('~')[0],
'--efi-major=1',
'--efi-minor=1',
'--subsystem=10',