Adding tcpdump ,nginx and python extensions to yocto build

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Adding tcpdump ,nginx and python extensions to yocto build

4,115 次查看
sameerarvikar
Contributor III

I am using IMx6 processor

i want to add tcpdump ,nginx and pysqlite ,python tornado ,python twisted to yocto build

I have compiled  tcpdump ,nginx and python extension in the imx6 sabre board itself and got there binaries,and i can tranfer them them to use in any other board

but i want them to be in yocto build ,so that i can just put the linux and start working.

How to add them.

I got following link or nginx but its not very clear
Adding yocto packages - Variscite Wiki 

if i do

bitbake -e tcpdump | grep ^PACKAGES=

output :

PACKAGES="tcpdump-ptest tcpdump-dbg tcpdump-staticdev tcpdump-dev tcpdump-doc tcpdump-locale tcpdump"

but when i build Linux tcpdump is not available

How to resolve

Thanks and regard

标记 (2)
0 项奖励
回复
3 回复数

3,547 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi sameerarvikar,

Python is installed by default in NXP BSP images, if you want to add python extensions or any other packages you need to add them in the local.conf file and rebuild the image.

E.g.

IMAGE_INSTALL_append += "\
python-pyqt \
python-numpy \
python-pip \
packagegroup-core-qt4e \
packagegroup-sdk-target \
opencv \
opencv-samples \

"

You can see a list of the available packages using command bitbake -s

You may use this cammand along with grep to find the name of the packages you need

E.g.

bitbake -s | grep tcp


Regards,
Carlos

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

3,547 次查看
sameerarvikar
Contributor III

Hi Carlos,

Thanks

but what if an extension is missing from output of bitbake -s command

like python-cyclone ,txjson-RPC,jsonschema etc.

Regards,

Sameer

0 项奖励
回复

3,547 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi,

bitbake -s list all the existing packages, if the package you are looking for is missing on bitbake -s output then it is not implemented on that BSP.

Regards,

Carlos

0 项奖励
回复