[OE-core] [PATCH 10/11] sysklogd: inhibit updatercd for non-sysvinit

Christopher Larson kergoth at gmail.com
Thu Nov 12 23:39:21 UTC 2015


From: Christopher Larson <chris_larson at mentor.com>

This recipe doesn't inherit systemd, so we need to take care of it ourselves.

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
 meta/recipes-extended/sysklogd/sysklogd.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-extended/sysklogd/sysklogd.inc b/meta/recipes-extended/sysklogd/sysklogd.inc
index bcf8aa7..85b3cdc 100644
--- a/meta/recipes-extended/sysklogd/sysklogd.inc
+++ b/meta/recipes-extended/sysklogd/sysklogd.inc
@@ -56,3 +56,8 @@ pkg_prerm_${PN} () {
 	fi
 	fi
 }
+
+python () {
+    if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d):
+        d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
+}
-- 
2.2.1




More information about the Openembedded-core mailing list