Extract the list of packages into a Yocto image

From Wiki Kaeilos.com
Jump to: navigation, search

Extract the list of packages into an image of Yocto Project / Openembedded

The old way

bitbake -g <image> && cat pn-depends.dot | grep -v -e '-native' | grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq


Or the newer way

bitbake -g <image> && cat pn-buildlist | grep -ve "native" | sort | uniq


Link : https://community.nxp.com/docs/DOC-94953