Skip to contentSkip to conversation

package.bbclass: Fix do_package variable dependencies

PATCH In review Richard Purdie 2 participants 2 messages Mar 5, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package.bbclass: Fix do_package variable dependencies

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]

---

meta/classes/package.bbclass +1 -1
index b9ac0e6..d37499f 100644
@@ -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"
#1 lore raw
Quoted 5 lines · Richard Purdie

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]

Ross