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>
This commit is contained in:
Christopher Larson 2015-11-04 16:40:49 -07:00 committed by Richard Purdie
parent add3451fb2
commit 29747d4639
1 changed files with 5 additions and 0 deletions

View 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")
}