有没有办法检查Yocto映像中将安装的软件包的确切列表? [英] Is there a way to check the exact list of packages that will be installed in the image in Yocto?
本文介绍了有没有办法检查Yocto映像中将安装的软件包的确切列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在基于Yocto的嵌入式Linux发行版中,我非常有兴趣在执行映像构建配方之前,从每个将要构建并安装到映像文件的相关层中查找软件包/食谱/内核模块的完整列表:
In Yocto-based Embedded Linux distributions, I am really interested in finding the complete list of packages/recipes/kernel modules from each dependent layers that will be built and installed to an image file before executing the image building recipe such as:
bitbake my-image-minimal
有没有办法做到这一点?在这方面的任何指导表示赞赏.
Is there a way to achieve this? Any guidance in this regard is appreciated.
谢谢.
推荐答案
是的,像这样 在旧版Bitbake上:
Yes, like this On old Bitbake versions:
bitbake -g <image> && cat pn-depends.dot | grep -v -e '-native' \
| grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq
来自 NXP社区网站
在较新的版本上:
bitbake -g <image> && cat pn-buildlist | grep -ve "native" | sort | uniq
这篇关于有没有办法检查Yocto映像中将安装的软件包的确切列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文