dependenciesbuildroot

Buildroot package dependents


On Buildroot, given a package P, I'm trying to know, textually, all the packages that depend on P.

I already know about make <pgk>-graph-depends command, but this command shows what packages P depends, but I want to know who depends on P.

I'm using Buildroot version 2015-08.

Thanks


Solution

  • Well, just do a full dependency graph (make graph-depends) and follow the arrows that point to package P. The dot file is a text file and can easily be parsed. Of course, that only gives you the reverse dependencies of P enabled in your current configuration, and not all possible reverse dependencies of P.