For example, update-rcd.bbclass does this: PACKAGESPLITFUNCS_prepend = "populate_packages_updatercd " python populate_packages_updatercd () { .... } If I change the body of populate_packages_updatercd (say, add a print statement) and re-build an image, it doesn't re-run the populate-packages tasks.
Suspected fix: 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"
Fixed in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=1122a417deab6d56bca553f43fa2509a42322b11