Skip to contentSkip to conversation

build-appliance-image: Add explict dependency on do_unpack

PATCH New Richard Purdie 1 participant 1 message Nov 22, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build-appliance-image: Add explict dependency on do_unpack

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.

---

meta/recipes-core/images/build-appliance-image.bb +2 -0
index 80cbbec..47be541 100644
@@ -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")