Exclude opencv or any unwanted package from building in Yocto completely

huangapple go评论51阅读模式
英文:

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

huangapple
  • 本文由 发表于 2023年5月22日 16:27:37
  • 转载请务必保留本文链接:https://go.coder-hub.com/76304305.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定