yocto toolchain missing python3-pycrypto-native, how automatically not manually add it in toolchain?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

yocto toolchain missing python3-pycrypto-native, how automatically not manually add it in toolchain?

977 Views
gonewithwind-peter
Senior Contributor I

Hi all, 

I am playing imx8 both iwave board and maaxboard  optee with yocto zeus branch.

after. bitbake lite-image -c populate_sdk , I got toolchain ,

but the toolchain missing python3-pycrypto-native, missing  Crypto to sign  optee ta files.

I check the python3-pycrypto-native is there, no auto put into the toolchain when yocto built it:

tmp/sysroots-components/x86_64/python3-pycrypto-native/usr/lib/python3.7/site-packages/Crypto

I have to manually copy Crypto into toolchain folder.

command:

sudo cp -r /home/rnd2/work/maaxboard/zeus/imx-yocto-bsp/maaxboard/build/tmp/sysroots-components/x86_64/python3-pycrypto-native/usr/lib/python3.7/site-packages/Crypto /opt/fsl-imx-wayland-lite/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/ lib/python3.7/site-packages/.

 

 

my question is : how to add something in local.conf or recipe somewhere when building yocto toolchain, the package can be put into it automatically?

Thank you

 

refer question: 

https://community.nxp.com/t5/i-MX-Processors/yocto-toolchains-compile-optee-example-code-ModuleNotFo...

 

 

 

0 Kudos
Reply
1 Reply

962 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello jin1,

There is no lite-image in our yocto BSP you must check with your vendor, however Maybe these can help:

https://www.mail-archive.com/meta-arago@arago-project.org//msg11149.html
https://www.mail-archive.com/meta-arago@arago-project.org//msg11151.html

Seems like they've created a python3-pycryptodomex-native recipe that includes python-pycryptodomex.inc.

 

Regards

 

 

0 Kudos
Reply