base-passwd: Fix race

Submitted by Richard Purdie on Nov. 29, 2011, 11:08 a.m.

Details

Message ID 1322564934.2140.7.camel@ted
State Accepted
Commit 938d12d9c63fdac97b86a7b9f33cfa05c262e874
Headers show

Commit Message

Richard Purdie Nov. 29, 2011, 11:08 a.m.
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 <richard.purdie@linuxfoundation.org>
---

Patch hide | download patch | download mbox

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

Comments

Eric BENARD Nov. 29, 2011, 11:25 a.m.
Le 29/11/2011 12:08, Richard Purdie a écrit :
> 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.
>
my smtp server was to slow to deliver my patch but this works fine here ;-)

Eric