build-appliance-image: Add explict dependency on do_unpack

Submitted by Richard Purdie on Nov. 22, 2012, 9:37 p.m.


Message ID 1353620243.10459.60.camel@ted
State Accepted
Commit cf61ea24d29b663ebdac091ec98211a82693b093
Headers show

Commit Message

Richard Purdie Nov. 22, 2012, 9:37 p.m.
The code called by do_rootfs explicitly needs the code obtained during
do_unpack. If built from sstate, it might not be present so we ensure
it is by adding an explicit dependency. This fixes build failures when
building from sstate.

Signed-off-by: Richard Purdie <>

Patch hide | download patch | download mbox

diff --git a/meta/recipes-core/images/ b/meta/recipes-core/images/
index 80cbbec..47be541 100644
--- a/meta/recipes-core/images/
+++ b/meta/recipes-core/images/
@@ -68,6 +68,8 @@  fakeroot do_populate_poky_src () {
 IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; "
+addtask rootfs after do_unpack
 python () {
 	# Ensure we run these usually noexec tasks
 	d.delVarFlag("do_fetch", "noexec")