From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1TbegN-0000mn-L4 for openembedded-core@lists.openembedded.org; Thu, 22 Nov 2012 22:51:40 +0100 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id qAMLbWft029664 for ; Thu, 22 Nov 2012 21:37:32 GMT Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26715-08 for ; Thu, 22 Nov 2012 21:37:28 +0000 (GMT) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id qAMLbNkf029658 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 22 Nov 2012 21:37:25 GMT Message-ID: <1353620243.10459.60.camel@ted> From: Richard Purdie To: openembedded-core Date: Thu, 22 Nov 2012 21:37:23 +0000 X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Subject: [PATCH] build-appliance-image: Add explict dependency on do_unpack X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 21:51:40 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 --- 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")