[OE-core] [PATCH 49/73] systemd: Skip parsing on musl based targets

Khem Raj raj.khem at gmail.com
Sun Jan 17 11:36:22 UTC 2016


systemd on musl doesn't yet work even though we have patches to make it
compile it fails to run, therefore lets skip building it for now

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/recipes-core/systemd/systemd_228.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-core/systemd/systemd_228.bb b/meta/recipes-core/systemd/systemd_228.bb
index 0c6fbde..16737f9 100644
--- a/meta/recipes-core/systemd/systemd_228.bb
+++ b/meta/recipes-core/systemd/systemd_228.bb
@@ -447,4 +447,8 @@ pkg_prerm_udev-hwdb () {
 python () {
     if not bb.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d):
         raise bb.parse.SkipPackage("'systemd' not in DISTRO_FEATURES")
+
+    import re
+    if re.match('.*musl*', d.getVar('TARGET_OS', True)) != None:
+        raise bb.parse.SkipPackage("Not _yet_ supported on musl based targets")
 }
-- 
2.7.0




More information about the Openembedded-core mailing list