aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2015-12-04 19:44:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-30 12:01:53 +0000
commit2f61930f55390bd2dfeb52a1ccfbc1cbe560c3ad (patch)
tree88bcbef990e7ddcf574853667b106b7bd8b3279f
parentb5a9d4ab564c2a6645922eed0203acb88ec5dd33 (diff)
downloadopenembedded-core-2f61930f55390bd2dfeb52a1ccfbc1cbe560c3ad.zip
openembedded-core-2f61930f55390bd2dfeb52a1ccfbc1cbe560c3ad.tar.gz
openembedded-core-2f61930f55390bd2dfeb52a1ccfbc1cbe560c3ad.tar.bz2
texinfo: don't create dependency on INHERIT variable
* we don't want the do_package signature depending on INHERIT variable * e.g. just adding the own-mirrors causes texinfo to rebuild: # bitbake-diffsigs BUILD/sstate-diff/*/*/texinfo/*do_package.sig* basehash changed from 015df2fd8e396cc1e15622dbac843301 to 9f1d06c4f238c70a99ccb6d8da348b6a Variable INHERIT value changed from ' rm_work blacklist blacklist report-error ${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_DISTRO} ${INHERIT_BLACKLIST} sanity' to ' rm_work own-mirrors blacklist blacklist report-error ${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_DISTRO} ${INHERIT_BLACKLIST} sanity' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta/recipes-extended/texinfo/texinfo_5.2.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/texinfo/texinfo_5.2.bb b/meta/recipes-extended/texinfo/texinfo_5.2.bb
index cf9dcfd..3394474 100644
--- a/meta/recipes-extended/texinfo/texinfo_5.2.bb
+++ b/meta/recipes-extended/texinfo/texinfo_5.2.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
PROVIDES_append_class-native = " texinfo-replacement-native"
def compress_pkg(d):
- if "compress_doc" in (d.getVar("INHERIT", True) or "").split():
+ if bb.data.inherits_class('compress_doc', d):
compress = d.getVar("DOC_COMPRESS", True)
if compress == "gz":
return "gzip"