2021-01-11 05:30 AM
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.
2021-01-11 07:43 AM
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.
2021-01-11 07:53 AM
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.