Patchwork package.bbclass: Fix do_package variable dependencies

login
register
mail settings
Submitter Richard Purdie
Date March 5, 2013, 12:24 p.m.
Message ID <1362486294.29587.91.camel@ted>
Download mbox | patch
Permalink /patch/45513/
State Accepted
Commit 2e7ddbcca3f613c3b5725dcc3d457985d41e5f16
Headers show

Comments

Richard Purdie - March 5, 2013, 12:24 p.m.
When the do_package function was split into different sections, the vardeps
were not updated to match meaning some function changes weren't reflected
in the sstate checksums. Fix this.

[YOCTO #3980]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
Ross Burton - March 5, 2013, 12:44 p.m.
On 5 March 2013 12:24, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> When the do_package function was split into different sections, the vardeps
> were not updated to match meaning some function changes weren't reflected
> in the sstate checksums. Fix this.
>
> [YOCTO #3980]

Signed-off-by: Ross Burton <ross.burton@intel.com>

Ross

Patch

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index b9ac0e6..d37499f 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1841,7 +1841,7 @@  python do_package () {
 }
 
 do_package[dirs] = "${SHLIBSWORKDIR} ${PKGDESTWORK} ${D}"
-do_package[vardeps] += "${PACKAGEFUNCS} ${@gen_packagevar(d)}"
+do_package[vardeps] += "${PACKAGEBUILDPKGD} ${PACKAGESPLITFUNCS} ${PACKAGEFUNCS} ${@gen_packagevar(d)}"
 addtask package before do_build after do_install
 
 PACKAGELOCK = "${STAGING_DIR}/package-output.lock"