mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09: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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user