diff options
author | Christopher Larson <chris_larson@mentor.com> | 2015-11-04 16:40:49 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-25 08:07:58 +0000 |
commit | 4b382b79a0acce0e2704d841288cef7dad660690 (patch) | |
tree | 8a08e1be10139b64707272b550e0e7d9dc305424 /meta | |
parent | 8d10de63e09754ed600ad3130b685bb1624eba5e (diff) | |
download | openembedded-core-4b382b79a0acce0e2704d841288cef7dad660690.tar.gz openembedded-core-4b382b79a0acce0e2704d841288cef7dad660690.tar.bz2 openembedded-core-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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/sysklogd/sysklogd.inc | 5 |
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") +} |