Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 464
George Redivo Avatar asked Apr 13 '16 16:04

George Redivo


People also ask

What is a Buildroot package?

Buildroot is a set of Makefiles and patches that simplifies and automates the process of building a complete and bootable Linux environment for an embedded system, while using cross-compilation to allow building for multiple target platforms on a single Linux-based development system.

How do I add a package to Buildroot?

There are two main methods to add a custom package into buildroot. The first method includes adding a package directly into the source tree and is described here. The second involves the use of an external package tree. A reference to using the second method is provided at the end of this article.

How can I speed up my Buildroot?

Make sure that you're using only local files: do not attempt to do a build over NFS, which significantly slows down the build. Having the Buildroot download folder available locally also helps a bit. Buy new hardware. SSDs and lots of RAM are key to speeding up the builds.

What is a Buildroot Linux?

Buildroot is a tool for automating the creation of Embedded Linux distributions. It builds the code for the architecture of the board so it was set up, all through an overview of Makefiles. In addition to being open-source, it is licensed under GPL-2.0-or-later.


1 Answers

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.

like image 69
Thomas Petazzoni Avatar answered Oct 02 '22 22:10

Thomas Petazzoni