[OE-core] [PATCH] watchdog: kill update-rc.d when not using sysvinit
Burton, Ross
ross.burton at intel.com
Tue Jul 28 20:46:58 UTC 2015
On 28 July 2015 at 18:11, Abdur Rehman <abdur_rehman at mentor.com> wrote:
> +python () {
> + if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False,
> d):
> + d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
> +}
>
Isn't this what the update-rcd logic does already:
# Check that this class isn't being inhibited (generally, by
# systemd.bbclass) before doing any work.
if bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d) or \
not d.getVar("INHIBIT_UPDATERCD_BBCLASS", True):
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150728/56f100fc/attachment-0002.html>
More information about the Openembedded-core
mailing list