diff mbox series

systemd: add back warning for use with musl

Message ID 20260305143310.1697365-1-ross.burton@arm.com
State Accepted, archived
Commit 00a4c1104ee28640bc6fcee788fa9195c84bff11
Headers show
Series systemd: add back warning for use with musl | expand

Commit Message

Ross Burton March 5, 2026, 2:33 p.m. UTC
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 <ross.burton@arm.com>
---
 meta/recipes-core/systemd/systemd_259.1.bb | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

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