]> code.ossystems Code Review - openembedded-core.git/commit
oe-depends-dot: print dependency chains for '--why' option
authorChen Qi <Qi.Chen@windriver.com>
Tue, 8 May 2018 02:19:15 +0000 (10:19 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 May 2018 09:00:28 +0000 (10:00 +0100)
commit1115e06599751f776134674d93627cc381a06660
treebe36baa19779d1e22e2cfe52fe6518cb755824b9
parentf71bc69e5b7581c53071055b694bb0dbfe4b4a87
oe-depends-dot: print dependency chains for '--why' option

When using '--why' option, we currently only list elements.
It's better to print out dependency chains. This patch adds
such abitility.

e.g.
  $ oe-depends-dot -k util-linux -w recipe-depends.dot
  Because: packagegroup-core-boot systemd-compat-units systemd shadow core-image-minimal dbus e2fsprogs
  core-image-minimal -> packagegroup-core-boot -> systemd-compat-units -> systemd -> dbus -> shadow -> util-linux
  core-image-minimal -> packagegroup-core-boot -> systemd-compat-units -> systemd -> dbus -> e2fsprogs -> util-linux

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/oe-depends-dot