diff mbox series

[3/3] systemd-systemctl-native: remove systemd-sysv-install logic

Message ID 20260629141559.1305873-3-ross.burton@arm.com
State Under Review
Headers show
Series [1/3] classes/meson: use ninja explicitly when compiling | expand

Commit Message

Ross Burton June 29, 2026, 2:15 p.m. UTC
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>
---
 .../systemd/systemd-systemctl-native_259.5.bb            | 9 ---------
 1 file changed, 9 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb b/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb
index 351f78d173c..bf9c9f47763 100644
--- a/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb
+++ b/meta/recipes-core/systemd/systemd-systemctl-native_259.5.bb
@@ -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
-}