]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
systemd-systemctl-native: remove systemd-sysv-install logic
authorRoss Burton <ross.burton@arm.com>
Mon, 29 Jun 2026 14:15:59 +0000 (15:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Jul 2026 10:16:15 +0000 (11:16 +0100)
The use of systemd-sysv-install was removed before Wrynose[1], so we do
not need to install it in systemd-systemctl-native.

[1] oe-core d9ec9e20eeb ("systemd: Stop supporting sysvinit compatibility")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb

index 351f78d173ce52249b423da5b6de1488c322352b..bf9c9f477631ed7d19a45b449dc7726570427b73 100644 (file)
@@ -17,12 +17,3 @@ EXTRA_OEMESON += "-Dsysvinit-path= -Dsysvrcnd-path="
 # determined at run-time, but rather set during configure
 # More details are here https://github.com/systemd/systemd/issues/35897#issuecomment-2665405887
 EXTRA_OEMESON += "--sysconfdir ${sysconfdir_native}"
-
-do_install:append() {
-       # Install systemd-sysv-install in /usr/bin rather than /usr/lib/systemd
-       # (where it is normally installed) so systemctl can find it in $PATH.
-       # It is expected that the use of systemd-sysv-install will be removed
-       # with version 259 of systemd and then this, and everything that was
-       # added along with it, should be reverted.
-       install -Dm 0755 ${S}/src/systemctl/systemd-sysv-install.SKELETON ${D}${bindir}/systemd-sysv-install
-}