From f1d2a932f63200b60aa3b1077e8e43d8f4d6d0bb Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 12 Aug 2016 14:47:13 -0700 Subject: [PATCH] ref-manual: Applied review edits to "Viewing Dependencies" Fixes [YOCTO #10131] Fixed some small issues here and there. Also, provided a second itemized item in the note box turning it into a notes box. (From yocto-docs rev: a736c3bb707e81eda7760c642084a5a7c4de2539) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/usingpoky.xml | 64 ++++++++++++++++---------- 1 file changed, 39 insertions(+), 25 deletions(-) diff --git a/documentation/ref-manual/usingpoky.xml b/documentation/ref-manual/usingpoky.xml index ecc2ea3653..15e1d47301 100644 --- a/documentation/ref-manual/usingpoky.xml +++ b/documentation/ref-manual/usingpoky.xml @@ -253,7 +253,8 @@ Sometimes it can be hard to see why BitBake wants to build other recipes before the one you have specified. - Dependency information can help you understand recipe build order. + Dependency information can help you understand why a recipe is + built. @@ -293,32 +294,45 @@ The graphs are in DOT - format and can be converted to images (e.g. using the "dot" tool - from - Graphviz. - - DOT files use a plain text format. - The graphs generated using the - bitbake -g command are often so large as - to be impossible to read without special pruning (e.g. with - Bitbake's -I option) and processing. - Despite the form and size of the files, the corresponding - .dot files can still be easy to read - and provide useful information. + format and can be converted to images (e.g. using the + dot tool from + Graphviz). + Notes + + + DOT files use a plain text format. + The graphs generated using the + bitbake -g command are often so + large as to be difficult to read without special + pruning (e.g. with Bitbake's + -I option) and processing. + Despite the form and size of the graphs, the + corresponding .dot files can still + be possible to read and provide useful information. + - As an example, the - task-depends.dot file contains lines such - as the following: - + As an example, the + task-depends.dot file contains + lines such as the following: + "libxslt.do_configure" -> "libxml2.do_populate_sysroot" - - The above example line reveals that the - do_configure - task in libxslt depends on the - do_populate_sysroot - task in libxml2, which is a normal - DEPENDS - dependency between the two recipes. + + The above example line reveals that the + do_configure + task in libxslt depends on the + do_populate_sysroot + task in libxml2, which is a normal + DEPENDS + dependency between the two recipes. + + + For an example of how .dot files + can be processed, see the + scripts/contrib/graph-tool Python + script, which finds and displays paths between graph + nodes. + +