support/scripts/graph-depends: add --flat-list option
authorGeorge Redivo <george.redivo@datacom.ind.br>
Sat, 31 Mar 2018 16:35:42 +0000 (18:35 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 1 Apr 2018 20:25:57 +0000 (22:25 +0200)
commit3146ba76331690fb693de3ff2fcebbaec43ca54e
tree536d1246421515ee480a6180c1e7f63a818a99f2
parentdcfcb777f480dc9ee4ff6503c338d792806d7bab
support/scripts/graph-depends: add --flat-list option

graph-depends currently spits out a graph in .dot format. However, as
part of the upcoming introduction of <pkg>-show-recursive-depends and
<pkg>-show-recursive-rdepends, we need graph-depends to be able to
display a flat list.

Signed-off-by: George Redivo <george.redivo@datacom.ind.br>
[Thomas:
 - Rebase on top of graph-depends changes
 - Do not display the package name itself in the list, only its
   dependencies (or reverse dependencies)
 - Display the result on a single line, instead of one package per
   line, in order to match what <pkg>-show-depends and
   <pkg>-show-rdepends are doing today.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
support/scripts/graph-depends