[yocto] how do I prevent a specific package from being built/installed (e.g., bash)?

Tomas Frydrych tf+lists.yocto at r-finger.com
Sat Jun 16 09:37:27 PDT 2012


Hi,

On 16/06/12 17:24, Anders Roxell wrote:
> See subject.
> Is there some config-file for package-masks (like portage's
> /etc/portage/package.mask)?

Packages are getting installed because something depends on them, so if
you want an image that has different contents than one of the default
images, you will need to create your own custom recipe for it.

You can examine the package dependencies with 'bitbake -g -u depexp <the
image name>'; this does not give you any runtime dependencies that are
automatically calculated from shared library deps, but for something
like bash it will give you enough info to know what is pulling it in.

Tomas



More information about the yocto mailing list