3

I am currently using yocto for building an embedded linux image for TI AM335x (I am using hob, since I find it more comfortable than using command-line).

I start using the recipe for building 'core-image-base' and here is the selection of packages which are included:

initial packages selection

Now I would like to exclude the package alsa-utils-1.0.28-r0 from build, since it has some problems compiling for my target and I really do not need it... so, as far as I can understand, I have to remove all the dependencies which brought alsa-utils in (that is: alsa-state and packagegroup-base, looking at following screenshot):

brought in

So I move to Package groups tab and I remove packagegroup-base and then I remove alsa-state and alsa-utils from the Included recipes:

removed packages

Now it seems that alsa-utils is there no more... but if I try to build the image, this is the result:

result

Why? Who is still bringing-in alsa-utils? What am I doing wrong? Is there a way (even command-line) to know why a package is brought-in by yocto?

Morix Dev
  • 2,700
  • 1
  • 28
  • 49

1 Answers1

12

Use

bitbake -g alsa-utils -u depexp

to display a dependency tree you should be able to see who's depending on it.

See the openembedded wiki.

Canatella
  • 156
  • 2
  • 5