mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +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.
This commit is contained in:
parent
e81025970f
commit
8b3b01c4b7
@ -390,8 +390,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',
|
||||
|
Loading…
Reference in New Issue
Block a user