]> code.ossystems Code Review - openembedded-core.git/commit
update-rc.d.bbclass: fix inhibit check
authorKai Kang <kai.kang@windriver.com>
Thu, 20 Feb 2014 02:11:09 +0000 (10:11 +0800)
committerSaul Wold <sgw@linux.intel.com>
Fri, 21 Feb 2014 04:06:22 +0000 (20:06 -0800)
commita0353102184892f09d3f97f018e457a4684550ea
treea4cdc015454b89558495f2bec87ecb2b3e628b3f
parentef0adae63b4b9689c25ed7d84f2b09575c81ce83
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.

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