From 6bc68a4e28c2332ed903aef447bda0848989453a Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Tue, 11 Mar 2025 11:04:57 +0100 Subject: systemd-systemctl-native: correctly set PV (From OE-Core rev: 8514809f0ce06dc146774d753d8eb061620b5bb5) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd-systemctl-native.bb | 16 ---------------- .../systemd/systemd-systemctl-native_257.3.bb | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 meta/recipes-core/systemd/systemd-systemctl-native.bb create mode 100644 meta/recipes-core/systemd/systemd-systemctl-native_257.3.bb diff --git a/meta/recipes-core/systemd/systemd-systemctl-native.bb b/meta/recipes-core/systemd/systemd-systemctl-native.bb deleted file mode 100644 index 73862b4e23..0000000000 --- a/meta/recipes-core/systemd/systemd-systemctl-native.bb +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "Systemctl executable from systemd" - -require systemd.inc - -DEPENDS = "gperf-native libcap-native util-linux-native python3-jinja2-native" - -inherit pkgconfig meson native - -MESON_TARGET = "systemctl:executable" -MESON_INSTALL_TAGS = "systemctl" -EXTRA_OEMESON:append = " -Dlink-systemctl-shared=false" - -# Systemctl is supposed to operate on target, but the target sysroot is not -# determined at run-time, but rather set during configure -# More details are here https://github.com/systemd/systemd/issues/35897#issuecomment-2665405887 -EXTRA_OEMESON:append = " --sysconfdir ${sysconfdir_native}" diff --git a/meta/recipes-core/systemd/systemd-systemctl-native_257.3.bb b/meta/recipes-core/systemd/systemd-systemctl-native_257.3.bb new file mode 100644 index 0000000000..73862b4e23 --- /dev/null +++ b/meta/recipes-core/systemd/systemd-systemctl-native_257.3.bb @@ -0,0 +1,16 @@ +SUMMARY = "Systemctl executable from systemd" + +require systemd.inc + +DEPENDS = "gperf-native libcap-native util-linux-native python3-jinja2-native" + +inherit pkgconfig meson native + +MESON_TARGET = "systemctl:executable" +MESON_INSTALL_TAGS = "systemctl" +EXTRA_OEMESON:append = " -Dlink-systemctl-shared=false" + +# Systemctl is supposed to operate on target, but the target sysroot is not +# determined at run-time, but rather set during configure +# More details are here https://github.com/systemd/systemd/issues/35897#issuecomment-2665405887 +EXTRA_OEMESON:append = " --sysconfdir ${sysconfdir_native}" -- cgit v1.2.3-54-g00ecf