From: Richard Purdie Date: Tue, 29 Nov 2011 10:40:23 +0000 (+0000) Subject: base-passwd: Fix race X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~43514 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=938d12d9c63fdac97b86a7b9f33cfa05c262e874;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git base-passwd: Fix race 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 5feb9242143..92ad0d97760 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