summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2015-11-04 16:40:49 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-25 08:07:58 +0000
commit4b382b79a0acce0e2704d841288cef7dad660690 (patch)
tree8a08e1be10139b64707272b550e0e7d9dc305424
parent8d10de63e09754ed600ad3130b685bb1624eba5e (diff)
downloadopenembedded-core-contrib-4b382b79a0acce0e2704d841288cef7dad660690.tar.gz
openembedded-core-contrib-4b382b79a0acce0e2704d841288cef7dad660690.tar.bz2
openembedded-core-contrib-4b382b79a0acce0e2704d841288cef7dad660690.zip
sysklogd: inhibit updatercd for non-sysvinit
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>
-rw-r--r--meta/recipes-extended/sysklogd/sysklogd.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-extended/sysklogd/sysklogd.inc b/meta/recipes-extended/sysklogd/sysklogd.inc
index bcf8aa7a96..85b3cdc56a 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")
+}