update-rc.d.bbclass: fix inhibit check
authorKai Kang <kai.kang@windriver.com>
Thu, 20 Feb 2014 02:11:09 +0000 (10:11 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Feb 2014 16:09:07 +0000 (16:09 +0000)
commitd4607f257863e0d3d2e28a054fade3caf7f31b86
tree661a4aab090d67a4c8a74410cd99aafa301e3749
parent168e1f95fb2e3e7c7eb48137d0b6c42607ced41f
update-rc.d.bbclass: fix inhibit check

In update-rc.d.bbclass it checks variable INHIBIT_UPDATERCD_BBCLASS to
inhibit from inheriting this class. But it is wrong logic that when
'sysvinit' is in 'DISTRO_FEATURES', INHIBIT_UPDATERCD_BBCLASS will not
be checked.

Replace 'or' with 'and' to fix it.

(From OE-Core rev: a0353102184892f09d3f97f018e457a4684550ea)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/update-rc.d.bbclass