]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
systemd: add back warning for use with musl
authorRoss Burton <ross.burton@arm.com>
Thu, 5 Mar 2026 14:33:10 +0000 (14:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Mar 2026 17:29:26 +0000 (17:29 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd_259.1.bb

index 91deadef4f07722a33144782c07fab35aab170ea..34dd37fffffa5848aa95eb2b83e3866a252ab842 100644 (file)
@@ -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