diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-29 10:40:23 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-29 11:22:09 +0000 |
commit | 31b57cbc6d2ea42a4097da21bfb4666bc5140480 (patch) | |
tree | 031517f56fb116c464b9d30edc5c68a8e55e6b07 /meta | |
parent | 0092c62b91e69a3d935ac2d78c6fd3400dd1fb46 (diff) | |
download | poky-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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/base-passwd/base-passwd_3.5.22.bb | 2 |
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 | ||
86 | addtask do_package after do_populate_sysroot | ||
87 | |||
86 | pkg_postinst_${PN}-update () { | 88 | pkg_postinst_${PN}-update () { |
87 | #!/bin/sh | 89 | #!/bin/sh |
88 | if [ -n "$D" ]; then | 90 | if [ -n "$D" ]; then |