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:38:30 +0100 |
commit | c7869b4d4cade8e87e9aab9e27c07bbc6fed39fe (patch) | |
tree | 896484f170b020235f902de84b369aa913d9ac07 /meta/classes/multilib.bbclass | |
parent | 9958a579e7486a245680094dd43a1bffa8dfb02c (diff) | |
download | poky-c7869b4d4cade8e87e9aab9e27c07bbc6fed39fe.tar.gz |
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.
(From OE-Core rev: 0614b9aa62a46f81d334ca4230080cc707347f3c)
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 () { | |||
72 | 72 | ||
73 | d.setVar("PACKAGES", " ".join([row[1] for row in pkgs_mapping])) | 73 | d.setVar("PACKAGES", " ".join([row[1] for row in pkgs_mapping])) |
74 | 74 | ||
75 | vars = (d.getVar("PACKAGEVARS", True) or "").split() | ||
75 | for pkg_mapping in pkgs_mapping: | 76 | for pkg_mapping in pkgs_mapping: |
76 | for subs in ["FILES", "RDEPENDS", "RRECOMMENDS", "SUMMARY", "DESCRIPTION", "RSUGGESTS", "RPROVIDES", "RCONFLICTS", "PKG", "ALLOW_EMPTY", "pkg_postinst", "pkg_postrm", "INITSCRIPT_NAME", "INITSCRIPT_PARAMS"]: | 77 | for subs in vars: |
77 | d.renameVar("%s_%s" % (subs, pkg_mapping[0]), "%s_%s" % (subs, pkg_mapping[1])) | 78 | d.renameVar("%s_%s" % (subs, pkg_mapping[0]), "%s_%s" % (subs, pkg_mapping[1])) |
78 | 79 | ||
79 | map_dependencies("DEPENDS", d) | 80 | map_dependencies("DEPENDS", d) |