summaryrefslogtreecommitdiff
path: root/meta/recipes-core/base-passwd
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-29 10:40:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-29 11:19:54 +0000
commit938d12d9c63fdac97b86a7b9f33cfa05c262e874 (patch)
tree54566f2552063e97460245aec782f37328cd1383 /meta/recipes-core/base-passwd
parent2a7ad4f0a37d17a70ff41b46265f8cb58d55afd9 (diff)
downloadopenembedded-core-938d12d9c63fdac97b86a7b9f33cfa05c262e874.tar.gz
openembedded-core-938d12d9c63fdac97b86a7b9f33cfa05c262e874.tar.bz2
openembedded-core-938d12d9c63fdac97b86a7b9f33cfa05c262e874.tar.xz
openembedded-core-938d12d9c63fdac97b86a7b9f33cfa05c262e874.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/base-passwd')
-rw-r--r--meta/recipes-core/base-passwd/base-passwd_3.5.22.bb2
1 files changed, 2 insertions, 0 deletions
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 5feb92421..92ad0d977 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