Patchwork build-appliance-image: Add explict dependency on do_unpack

login
register
mail settings
Submitter Richard Purdie
Date Nov. 22, 2012, 9:37 p.m.
Message ID <1353620243.10459.60.camel@ted>
Download mbox | patch
Permalink /patch/39507/
State Accepted
Commit cf61ea24d29b663ebdac091ec98211a82693b093
Headers show

Comments

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 <richard.purdie@linuxfoundation.org>
---

Patch

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")