From patchwork Tue Nov 29 11:08:54 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: base-passwd: Fix race Date: Tue, 29 Nov 2011 11:08:54 -0000 From: Richard Purdie X-Patchwork-Id: 15585 Message-Id: <1322564934.2140.7.camel@ted> To: Patches and discussions about the oe-core layer 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