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:08:16 +0000 |
commit | 29747d46396a7ef31104f81d03a400d52dd012b2 (patch) | |
tree | 43ddfdbe4d51d0ab74071f3084a4278989fafe87 /meta/recipes-extended/sysklogd | |
parent | add3451fb2fee7a761e5f576dc638a880c24df89 (diff) | |
download | poky-29747d46396a7ef31104f81d03a400d52dd012b2.tar.gz |
sysklogd: inhibit updatercd for non-sysvinit
This recipe doesn't inherit systemd, so we need to take care of it ourselves.
(From OE-Core rev: 4b382b79a0acce0e2704d841288cef7dad660690)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sysklogd')
-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} () { | |||
56 | fi | 56 | fi |
57 | fi | 57 | fi |
58 | } | 58 | } |
59 | |||
60 | python () { | ||
61 | if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d): | ||
62 | d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1") | ||
63 | } | ||