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 1RVLeu-00076J-JE for openembedded-core@lists.openembedded.org; Tue, 29 Nov 2011 12:15:33 +0100 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id pATB8rwq012019 for ; Tue, 29 Nov 2011 11:08:53 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 11447-04 for ; Tue, 29 Nov 2011 11:08:49 +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 pATB8j99012013 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 29 Nov 2011 11:08:46 GMT Message-ID: <1322564934.2140.7.camel@ted> From: Richard Purdie To: Patches and discussions about the oe-core layer Date: Tue, 29 Nov 2011 11:08:54 +0000 In-Reply-To: <1322559291.2140.2.camel@ted> References: <4ED4A49D.7040806@eukrea.com> <1322559291.2140.2.camel@ted> X-Mailer: Evolution 3.2.1- Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Subject: [PATCH] base-passwd: Fix race X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2011 11:15:33 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit The do_package task this recipe injects depends on the output of do_populate_sysroot to be present. This introduces the correct dependency so that the package task works correctly. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb index 5feb924..92ad0d9 100644 --- a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb +++ b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb @@ -83,6 +83,8 @@ fi d.setVar('pkg_preinst_${PN}', preinst) } +addtask do_package after do_populate_sysroot + pkg_postinst_${PN}-update () { #!/bin/sh if [ -n "$D" ]; then