diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml index 857f8b279c..4cc647fe4b 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml @@ -1686,7 +1686,7 @@ recipe is built. In this example, mytask is run at an unspecified time relative to other tasks within - the recipe, since "after" is not used. + the recipe, since after is not used. The directive @@ -1772,6 +1772,19 @@ and added. + + The "recrdeptask" flag is most commonly used in high-level + recipes that need to wait for some task to finish "globally". + For example, image.bbclass has the following: + + do_rootfs[recrdeptask] += "do_packagedata" + + This statement says that the do_packagedata + task of all recipes reachable (by way of dependencies) from the + image recipe must run before the do_rootfs + task can run. + + You might want to not only have BitBake look for dependencies of those tasks, but also have BitBake look