summaryrefslogtreecommitdiffstats
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:22:09 +0000
commit31b57cbc6d2ea42a4097da21bfb4666bc5140480 (patch)
tree031517f56fb116c464b9d30edc5c68a8e55e6b07
parent0092c62b91e69a3d935ac2d78c6fd3400dd1fb46 (diff)
downloadpoky-31b57cbc6d2ea42a4097da21bfb4666bc5140480.tar.gz
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. (From OE-Core rev: 938d12d9c63fdac97b86a7b9f33cfa05c262e874) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 5feb924214..92ad0d9776 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
83 d.setVar('pkg_preinst_${PN}', preinst) 83 d.setVar('pkg_preinst_${PN}', preinst)
84} 84}
85 85
86addtask do_package after do_populate_sysroot
87
86pkg_postinst_${PN}-update () { 88pkg_postinst_${PN}-update () {
87#!/bin/sh 89#!/bin/sh
88if [ -n "$D" ]; then 90if [ -n "$D" ]; then