]> code.ossystems Code Review - openembedded-core.git/commitdiff
systemd: Skip parsing on musl based targets
authorKhem Raj <raj.khem@gmail.com>
Sat, 9 Jan 2016 08:56:06 +0000 (08:56 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jan 2016 23:42:52 +0000 (23:42 +0000)
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@gmail.com>
meta/recipes-core/systemd/systemd_228.bb

index aa2e846b696a0bd5461a1f31aee8261f08f4f504..0e1bd8b7f147e311cc8e07089984c8d5e998666f 100644 (file)
@@ -443,4 +443,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")
 }