Add back a warning linking to the release notes to alert users that
systemd with musl is still experimental and has limitations compared to
glibc.

Signed-off-by: Ross Burton <[email protected]>
---
 meta/recipes-core/systemd/systemd_259.1.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-core/systemd/systemd_259.1.bb 
b/meta/recipes-core/systemd/systemd_259.1.bb
index 91deadef4f..34dd37ffff 100644
--- a/meta/recipes-core/systemd/systemd_259.1.bb
+++ b/meta/recipes-core/systemd/systemd_259.1.bb
@@ -904,3 +904,9 @@ pkg_prerm:udev-hwdb () {
 }
 
 require dlopen-deps.inc
+
+python do_warn_musl() {
+    if d.getVar('TCLIBC') == "musl":
+        bb.warn("Using systemd with musl is experimental, see 
https://github.com/systemd/systemd/blob/9ca4334/NEWS#L524 for details")
+}
+addtask warn_musl before do_configure
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#232495): 
https://lists.openembedded.org/g/openembedded-core/message/232495
Mute This Topic: https://lists.openembedded.org/mt/118152417/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to