]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: bitbake-user-manual: Rewrite dependency dot file generation
authorScott Rifenbark <srifenbark@gmail.com>
Mon, 23 Jan 2017 23:44:19 +0000 (15:44 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Mar 2017 15:46:59 +0000 (15:46 +0000)
commitbcfb0da4fec6809de585410c7b3e1b23689457a4
tree9b4c0980188ea0e23daa8a6140063034d79142e2
parent254bfb107134702d8d1e0bfbdd1b011212e8c291
bitbake: bitbake-user-manual: Rewrite dependency dot file generation

The package-depends.dot and pn-depends.dot files are inaccurate,
missing out key dependencies such those made via the [depends]
flags. As such they can be misleading to the user.

They mainly exist for historical reasons, coming from a time
before we had task based execution.

This commit removes the two dated file formats and replaces
them with a recipe-depends.dot which is a flattened version
of task-depends.dot.

The old format files are removed if present so that the user
can't get confused about why data might not match between files.

The code is also rewritten to use 'with f: f.write()' syntax as
is more commonly used now. Also update the docs to match the change.

(Bitbake rev: f82537d27f2a5bf9d576aa841593db9ec0985ea8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml