meson: move systemd-sysupdate to /usr/bin/

Let's make systemd-sysupdate easy to call. It was added in 2021
and it's around to stay and not "experimental" in any way.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-05-13 15:09:27 +01:00
committed by Luca Boccassi
parent 0a9bbdcd33
commit 3061ec2707
5 changed files with 13 additions and 6 deletions
+8 -1
View File
@@ -21,7 +21,7 @@ systemd_updatectl_sources = files(
)
executables += [
libexec_template + {
executable_template + {
'name' : 'systemd-sysupdate',
'public' : true,
'conditions' : ['ENABLE_SYSUPDATE'],
@@ -57,3 +57,10 @@ if conf.get('ENABLE_SYSUPDATED') == 1
install_data('org.freedesktop.sysupdate1.policy',
install_dir : polkitpolicydir)
endif
if conf.get('ENABLE_SYSUPDATE') == 1
# symlink for backwards compatibility after rename
install_symlink('systemd-sysupdate',
pointing_to : libexecdir_to_bin / 'systemd-sysupdate',
install_dir : libexecdir)
endif