I want to add tcpdump into yocto build
I found that I need to add meta-networking
into bblayers.conf
. meta-networking
is apart of meta-openembedded
Following are the steps I followed :
meta-openembedded
: git clone [email protected]:openembedded/meta-openembedded.git
jethro
branch and confirmed that meta-networking/recipes-support/tcpdump/tcpdump_4.7.4.bb
is presentmeta-networking
and its dependent packages into bblayers.conf
BBLAYERS
/home/linux/work/yocto/poky/meta-openembedded/meta-oe \
/home/linux/work/yocto/poky/meta-openembedded/meta-networking \
/home/linux/work/yocto/poky/meta-openembedded/meta-python \
I am still unable to see tcpdump binary after booting up BBB(Beaglebone black). I am pretty sure I am missing something. I am new to yocto. Any guidance will be very helpful.
You need to add tcpdump
to your image recipe. For a quick test, you add the following line to your conf/local.conf
:
IMAGE_INSTALL_append = " tcpdump"
(Note the leading space in the assignment). Just adding a layer won't add anything to your image.
Update:
In order to do do it correctly, you should add tcpdump
to IMAGE_INSTALL
in your own image recipe. Eg.
IMAGE_INSTALL += "tcpdump"
If you don't have your own image, you could add a <image-name>.bbappend
file to your own layer, with the line above.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With