diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2015-12-09 09:48:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-12 23:42:53 +0000 |
commit | a5204958d652d8e404a68e39a2b3099c6e05b51f (patch) | |
tree | 8ee7638168428156f6898e4e3f10f244cf2e3de0 /meta/recipes-extended/texinfo | |
parent | 2b2774bd009847a20e4819a152efcfcffe522e86 (diff) | |
download | poky-a5204958d652d8e404a68e39a2b3099c6e05b51f.tar.gz |
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'
(From OE-Core rev: ac6642e9a84a67c8cdaa8d8e939c2d0e2dcb3577)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/texinfo')
-rw-r--r-- | meta/recipes-extended/texinfo/texinfo_6.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/texinfo/texinfo_6.0.bb b/meta/recipes-extended/texinfo/texinfo_6.0.bb index 8fb715a11e..a8702cfca6 100644 --- a/meta/recipes-extended/texinfo/texinfo_6.0.bb +++ b/meta/recipes-extended/texinfo/texinfo_6.0.bb | |||
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | |||
10 | PROVIDES_append_class-native = " texinfo-replacement-native" | 10 | PROVIDES_append_class-native = " texinfo-replacement-native" |
11 | 11 | ||
12 | def compress_pkg(d): | 12 | def compress_pkg(d): |
13 | if "compress_doc" in (d.getVar("INHERIT", True) or "").split(): | 13 | if bb.data.inherits_class('compress_doc', d): |
14 | compress = d.getVar("DOC_COMPRESS", True) | 14 | compress = d.getVar("DOC_COMPRESS", True) |
15 | if compress == "gz": | 15 | if compress == "gz": |
16 | return "gzip" | 16 | return "gzip" |