Add package to linux image after build

i’ve built angstorm with qt and opencv support in it, but image doesnt have qtserialport. can i add qtserialport to linux image?
i would’nt start begin “bitbake bitbake -k angstrom-qt5-x11-image”.
what should i do?

Hi @mmgh1993 !

You need to find the layer that has the recipe (package) that you need. Here is an article that has two nice videos teaching about Yocto: Image Customization With the Yocto Project/OpenEmbedded.

Go to OpenEmbedded Layer Index and search for the package (recipe) you need (qtserialport) in the Recipes tab.

You’ll get e.g. this match: qtserialport 5.15.2+gitX. If you already have the meta-qt5 layer among your layers, you can add the package using the IMAGE_INSTALL_append in your local.conf, like is done in the article Custom meta layers, recipes and images in Yocto Project (hello-world examples).

You can see if you already have the qtserialport available using the command

bitbake-layers show-recipes | grep qtserialport

Best regards