Topics

How to add Python3 json module in Yocto


Vijay Rakesh Munganda
 

Hi, can anyone please guide me on adding json module to my python library in yocto. I had download .bb file from OE Layer and placed it under recipe-devtool/python folder, but it is not including to the build. Also guide me how to select a suitable .bb file as there are many recipes available on json.   

Thanks & Regards,
Vijay.


Robert P. J. Day
 

On Wed, 25 Nov 2020, vijayrakeshmunganda@gmail.com wrote:

Hi, can anyone please guide me on adding json module to my python
library in yocto. I had download .bb file from OE Layer and placed
it under recipe-devtool/python folder, but it is not including to
the build. Also guide me how to select a suitable .bb file as there
are many recipes available on json.
simply adding a recipe to your layer is not sufficient ... you need
to specifically say you want a package added to your image with,
perhaps, adding the line:

IMAGE_INSTALL_append = " <package> <package> ..."

to your local.conf file.

rday