[OE-core] [PATCH 4/4] man/texinfo: conditionally add gzip/bzip2/xz to RDEPENDS

Burton, Ross ross.burton at intel.com
Wed Sep 24 14:45:07 UTC 2014


On 24 September 2014 12:38, Hongxu Jia <hongxu.jia at 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



More information about the Openembedded-core mailing list