On 24 September 2014 12:38, Hongxu Jia <hongxu....@windriver.com> wrote: > + if "compress_doc" in d.getVar("INHERIT", True):
You'll want to split() the INHERIT variable so you're searching for a member and not a substring: if "compress_doc" in d.getVar("INHERIT", True).split() Without splitting, an inherited class called decompress_docker will trigger your code. Ross -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core