[OE-core] [PATCH] build-appliance-image: Add explict dependency on do_unpack

Richard Purdie richard.purdie at linuxfoundation.org
Thu Nov 22 21:37:23 UTC 2012


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 <richard.purdie at linuxfoundation.org>
---
diff --git a/meta/recipes-core/images/build-appliance-image.bb b/meta/recipes-core/images/build-appliance-image.bb
index 80cbbec..47be541 100644
--- a/meta/recipes-core/images/build-appliance-image.bb
+++ b/meta/recipes-core/images/build-appliance-image.bb
@@ -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")






More information about the Openembedded-core mailing list