diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-30 14:22:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-31 19:29:45 +0100 |
commit | 0614b9aa62a46f81d334ca4230080cc707347f3c (patch) | |
tree | cd848ffa05fa899ca687e1c62b91fff7bf0df204 /meta/classes/multilib.bbclass | |
parent | b9fa8fd4f09b68cbcc12b557451a58a1f218d7f3 (diff) | |
download | openembedded-core-0614b9aa62a46f81d334ca4230080cc707347f3c.tar.gz openembedded-core-0614b9aa62a46f81d334ca4230080cc707347f3c.tar.bz2 openembedded-core-0614b9aa62a46f81d334ca4230080cc707347f3c.zip |
package.bbclass: Ensure task's variable dependencies are correctly caputred in the sstate checksum
[YOCTO #1388]
This change is needed to correctly add the dependencies for the do_package
task which bitbake is unable to automatically detect itself.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/multilib.bbclass')
-rw-r--r-- | meta/classes/multilib.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index 286b806cf0..5d975fd33e 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass @@ -72,8 +72,9 @@ python __anonymous () { d.setVar("PACKAGES", " ".join([row[1] for row in pkgs_mapping])) + vars = (d.getVar("PACKAGEVARS", True) or "").split() for pkg_mapping in pkgs_mapping: - for subs in ["FILES", "RDEPENDS", "RRECOMMENDS", "SUMMARY", "DESCRIPTION", "RSUGGESTS", "RPROVIDES", "RCONFLICTS", "PKG", "ALLOW_EMPTY", "pkg_postinst", "pkg_postrm", "INITSCRIPT_NAME", "INITSCRIPT_PARAMS"]: + for subs in vars: d.renameVar("%s_%s" % (subs, pkg_mapping[0]), "%s_%s" % (subs, pkg_mapping[1])) map_dependencies("DEPENDS", d) |