Recipes relation tree
Hi all,
Is there any way to obtain a kind of visual "dependency tree" between recipes? Sometimes is dificult to follow-up dependencies, when rebuilding individual packages.
Thanks.
Signature · 1 line
Jaume Ribot Caner
Quoted 5 lines · FQ | Jaume Ribot
Hi all,
Is there any way to obtain a kind of visual "dependency tree" between recipes? Sometimes is dificult to follow-up dependencies, when rebuilding individual packages.
Have you looked at -g option of bitbake?
-g, --graphviz emit the dependency trees of the specified packages in
the dot syntax
Signature · 1 line
Denys
Quoted 4 lines · Denys Dmytriyenko
Have you looked at -g option of bitbake?
-g, --graphviz emit the dependency trees of the specified packages in
the dot syntax
A related question. This generates depends.dot just fine, but I found a reference to rdepends.dot in some manual. I would be very much interested in an RDEPENDS tree, is there a way to get this?
spaetz
Quoted 9 lines · Sebastian Spaeth
Quoted 4 lines · Denys Dmytriyenko
Have you looked at -g option of bitbake?
-g, --graphviz emit the dependency trees of the specified packages in
the dot syntaxA related question. This generates depends.dot just fine, but I found a reference to rdepends.dot in some manual. I would be very much interested in an RDEPENDS tree, is there a way to get this?
If you use testlab.bbclass you get one for each image.
regards,
Koen
Quoted 9 lines · Sebastian Spaeth
Quoted 4 lines · Denys Dmytriyenko
Have you looked at -g option of bitbake?
-g, --graphviz emit the dependency trees of the specified packages in
the dot syntaxA related question. This generates depends.dot just fine, but I found a reference to rdepends.dot in some manual. I would be very much interested in an RDEPENDS tree, is there a way to get this?
Actually it does generate both.
Signature · 1 line
Denys
Quoted 5 lines · Denys Dmytriyenko
Quoted 3 lines
A related question. This generates depends.dot just fine, but I found a reference to rdepends.dot in some manual. I would be very much interested in an RDEPENDS tree, is there a way to get this?
Actually it does generate both.
Interesting, here with bitbake 1.8 I definitely only get
depends.dot task-depends.dot
Is this only in 1.10, or am I missing a secret config option?
spaetz
Quoted 11 lines · Sebastian Spaeth
Quoted 5 lines · Denys Dmytriyenko
Quoted 3 lines
A related question. This generates depends.dot just fine, but I found a reference to rdepends.dot in some manual. I would be very much interested in an RDEPENDS tree, is there a way to get this?
Actually it does generate both.
Interesting, here with bitbake 1.8 I definitely only get
depends.dot task-depends.dotIs this only in 1.10, or am I missing a secret config option?
The rdepends are the lines in depends.dot with '[style=dashed]'.
Marc
It would also be nice to be able to get the used by information. E.g. if I change a package (especially wrt staging) I would like to verify that the packages which use the modified package still build.
The current el-cheapo solution for a package XYZ is to do something like a grep DEPENDS.*XYZ */*.bb but of course that won't work if DEPENDS spans multiple lines.
FM
Quoted 8 lines · On Sun, 6 Dec 2009 13:17:16 +0100 Frans Meulenbroeks…
It would also be nice to be able to get the used by information. E.g. if I change a package (especially wrt staging) I would like to verify that the packages which use the modified package still build.
The current el-cheapo solution for a package XYZ is to do something like a grep DEPENDS.*XYZ */*.bb but of course that won't work if DEPENDS spans multiple lines.
bitbake -g target will drop a dependency graph in the directory you run bitbake from.
Graeme
2009/12/6 Graeme Gregory <[email protected]>:
Quoted 7 lines
Quoted 4 lines · On Sun, 6 Dec 2009 13:17:16 +0100 Frans Meulenbroeks…
It would also be nice to be able to get the used by information. E.g. if I change a package (especially wrt staging) I would like to verify that the packages which use the modified package still build.
Quoted 8 lines
Quoted 4 lines
The current el-cheapo solution for a package XYZ is to do something like a grep DEPENDS.*XYZ */*.bb but of course that won't work if DEPENDS spans multiple lines.
bitbake -g target will drop a dependency graph in the directory you run bitbake from.
Graeme
Graeme, I know but I would like to have exacty the reverse: a list of packages that depend on the package at hand.
bitbake -g gives all packages a package depends on, but I would like to have a list of packages that depend on a specific package.
so e.g. I want to get a list of packages that depend on libxml (and bitbake -g libxml gives me the packages libxml depends on).
I hope that clarifies my question.
Frans
Quoted 23 lines · On Sun, 6 Dec 2009 19:51:21 +0100 Frans Meulenbroeks…
2009/12/6 Graeme Gregory <[email protected]>:
Quoted 8 lines
Quoted 5 lines · On Sun, 6 Dec 2009 13:17:16 +0100 Frans Meulenbroeks…
It would also be nice to be able to get the used by information. E.g. if I change a package (especially wrt staging) I would like to verify that the packages which use the modified package still build.
Quoted 8 lines
Quoted 4 lines
The current el-cheapo solution for a package XYZ is to do something like a grep DEPENDS.*XYZ */*.bb but of course that won't work if DEPENDS spans multiple lines.
bitbake -g target will drop a dependency graph in the directory you run bitbake from.
Graeme
Graeme, I know but I would like to have exacty the reverse: a list of packages that depend on the package at hand.
bitbake -g gives all packages a package depends on, but I would like to have a list of packages that depend on a specific package.
Quoted 5 lines
so e.g. I want to get a list of packages that depend on libxml (and bitbake -g libxml gives me the packages libxml depends on).
I hope that clarifies my question.
Still the same answer, bitbake -g world then parse the graph.
Graeme
2009/12/6 Graeme Gregory <[email protected]>:
Quoted 26 lines
Quoted 23 lines · On Sun, 6 Dec 2009 19:51:21 +0100 Frans Meulenbroeks…
2009/12/6 Graeme Gregory <[email protected]>:
Quoted 8 lines
Quoted 5 lines · On Sun, 6 Dec 2009 13:17:16 +0100 Frans Meulenbroeks…
It would also be nice to be able to get the used by information. E.g. if I change a package (especially wrt staging) I would like to verify that the packages which use the modified package still build.
Quoted 8 lines
Quoted 4 lines
The current el-cheapo solution for a package XYZ is to do something like a grep DEPENDS.*XYZ */*.bb but of course that won't work if DEPENDS spans multiple lines.
bitbake -g target will drop a dependency graph in the directory you run bitbake from.
Graeme
Graeme, I know but I would like to have exacty the reverse: a list of packages that depend on the package at hand.
bitbake -g gives all packages a package depends on, but I would like to have a list of packages that depend on a specific package.
Quoted 7 lines
Quoted 5 lines
so e.g. I want to get a list of packages that depend on libxml (and bitbake -g libxml gives me the packages libxml depends on).
I hope that clarifies my question.
Still the same answer, bitbake -g world then parse the graph.
Ah ok, forgot that bitbake -g world would give me the complete graph <blush>
Thanks, FM
Quoted 32 lines · On Sun, 6 Dec 2009 20:37:30 +0100 Frans Meulenbroeks…
2009/12/6 Graeme Gregory <[email protected]>:
Quoted 31 lines
Quoted 28 lines · On Sun, 6 Dec 2009 19:51:21 +0100 Frans Meulenbroeks…
2009/12/6 Graeme Gregory <[email protected]>:
Quoted 8 lines
Quoted 5 lines · On Sun, 6 Dec 2009 13:17:16 +0100 Frans Meulenbroeks…
It would also be nice to be able to get the used by information. E.g. if I change a package (especially wrt staging) I would like to verify that the packages which use the modified package still build.
Quoted 8 lines
Quoted 4 lines
The current el-cheapo solution for a package XYZ is to do something like a grep DEPENDS.*XYZ */*.bb but of course that won't work if DEPENDS spans multiple lines.
bitbake -g target will drop a dependency graph in the directory you run bitbake from.
Graeme
Graeme, I know but I would like to have exacty the reverse: a list of packages that depend on the package at hand.
bitbake -g gives all packages a package depends on, but I would like to have a list of packages that depend on a specific package.so e.g. I want to get a list of packages that depend on libxml (and bitbake -g libxml gives me the packages libxml depends on).
I hope that clarifies my question.
Quoted 8 lines
Quoted 2 lines
Still the same answer, bitbake -g world then parse the graph.
Ah ok, forgot that bitbake -g world would give me the complete graph <blush>
Thanks, FM
Then put the script you use to parse the graph in contrib/ and enjoy eternal fame for solving one of OEs FAQs.
Graeme