]> code.ossystems Code Review - openembedded-core.git/commitdiff
sysklogd: inhibit updatercd for non-sysvinit
authorChristopher Larson <chris_larson@mentor.com>
Wed, 4 Nov 2015 23:40:49 +0000 (16:40 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Nov 2015 08:07:58 +0000 (08:07 +0000)
This recipe doesn't inherit systemd, so we need to take care of it ourselves.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/sysklogd/sysklogd.inc

index bcf8aa7a9653dab77520b4befe7c5822c56b5f3c..85b3cdc56afc0bc9c3b8923491e01059a764d856 100644 (file)
@@ -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")
+}