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>
# 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
-}