英文:
Exclude opencv or any unwanted package from building in Yocto completely
问题
OpenCV正在获取和编译时花费了很多时间,而其他所有的配方都没有这个问题。
我正在进行一个无头图像处理,我确信我根本不需要OpenCV。
有没有办法?
我尝试检查“conf”文件夹中的所有文件(layer.conf),但找不到任何相关内容。
英文:
opencv is taking a lot of time to fetch and compile out of all other recipes.
I am doing a headless image and I am sure I don't need opencv at all.
Is there any method?
I tried checking all files inside conf folders (layer.conf) but cannot find anything related.
答案1
得分: 1
opencv
是因为某个显式安装图像或作为已安装软件包的依赖项而构建的。您必须找出为什么需要它,并修复这个未使用的依赖关系。这里有一篇帖子可以帮助您找到依赖于opencv
的配方:https://stackoverflow.com/questions/71121323/yocto-how-to-know-why-a-package-is-included
英文:
opencv
is built because an image eplicitly installs it, or it is required as a dependency to an installed package. You must find how it is required and fix this unused dependency. Here's a post that should help you find the recipe that depends on opencv
: https://stackoverflow.com/questions/71121323/yocto-how-to-know-why-a-package-is-included
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论