mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
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>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user