cancel
Showing results for 
Search instead for 
Did you mean: 

Installed package during image build not found on target

SigmaPrime
Senior

Hello

I built a Yocto based image for my stm32 and made sure that the required packages were installed. When I flashed my Image some packages were not found although before building the image I checked the list of packages to be integrated with

bitbake -g st-image-weston && cat pn-buildlist | grep -ve "native" | sort | uniq

The .manifest file also contains the right packages to be installed. Why weren't they included in the image after the build?

Thank you.

2 REPLIES 2
KnarfB
Principal III

Not every package that is bitbaked is included in the image.

One way to include a package in the (core-image based) image is adding a line

CORE_IMAGE_EXTRA_INSTALL += " my-package"

to the image recipe or, better, put that line in a .bbappend file, say layers/meta-mylayer/recipes-st/images/st-image-weston.bbappend, in your own layer.

Thank you very much. I am going to try it :grinning_face:

What is the difference between IMAGE_INSTALL_append=" my package" and CORE_IMAGE_EXTRA_INSTALL+=" my package" ?

I did not find a proper explanation to it.