当前位置:网站首页>[Yocto RM]11 - Features
[Yocto RM]11 - Features
2022-07-05 00:30:00 【_山猫】
11 特点
本章提供了可以包含在图像中的已发货机器和发行版功能的参考、可以选择的图像功能的参考以及功能回填的参考。
特性提供了一种机制来确定哪些包应该包含在生成的图像中。发行版可以通过 DISTRO_FEATURES 变量选择他们想要支持的功能,该变量在发行版的配置文件中设置或附加,例如 poky.conf、poky-tiny.conf、poky-lsb.conf 等。机器特性在 MACHINE_FEATURES 变量中设置,该变量在机器配置文件中设置并指定给定机器的硬件特性。
这两个变量结合起来计算出要包含的内核模块、实用程序和其他包。给定的发行版可以支持选定的功能子集,因此如果发行版本身不支持某些机器功能,则可能不包括它们。
您可以用来确定哪些配方正在检查以查看是否包含特定功能的一种方法是通过该功能的元数据进行 grep。这是一个示例,它发现其构建可能基于给定功能而更改的配方:
$ cd poky
$ git grep 'contains.*MACHINE_FEATURES.*feature'
11.1 机器特性
以下项目是您可以与 MACHINE_FEATURES 一起使用的功能。功能与包没有一一对应的关系,它们可以超越简单地控制一个或多个包的安装。有时,一项功能会影响某些配方的构建方式。例如,一项功能可能会确定是否在 do_configure 任务中为特定配方指定了特定配置选项。
此功能列表仅表示 Y
边栏推荐
- 【selenium自动化】常用注解
- leetcode494,474
- 【路径规划】RRT增加动力模型进行轨迹规划
- Fast parsing intranet penetration helps enterprises quickly achieve collaborative office
- TS快速入门-函数
- [IELTS reading] Wang Xiwei reads P4 (matching2 paragraph information matching question [difficult])
- 如何有效对直流列头柜进行监测
- It's too convenient. You can complete the code release and approval by nailing it!
- 海思3559万能平台搭建:YUV422的踩坑记录
- abc 258 G - Triangle(bitset)
猜你喜欢
随机推荐
P4408 [noi2003] truant children (tree diameter)
Life is changeable, and the large intestine covers the small intestine. This time, I can really go home to see my daughter-in-law...
Best practice case of enterprise digital transformation: introduction and reference of cloud based digital platform system security measures
【雅思阅读】王希伟阅读P3(Heading)
[error reporting] "typeerror: cannot read properties of undefined (reading 'split')“
基于三维gis平台的消防系统运用
Fast analysis -- easy to use intranet security software
跨域请求
IT转测试岗,从迷茫到坚定我究竟付出了什么?
The company needs to be monitored. How do ZABBIX and Prometheus choose? That's the right choice!
Identifiers and keywords
OpenHarmony资源管理详解
Multilingual Wikipedia website source code development part II
Summary of week 22-07-02
Date time type and format in MySQL
Fs8b711s14 electric wine bottle opener MCU IC scheme development special integrated IC
Power operation and maintenance cloud platform: open the new mode of "unattended and few people on duty" of power system
[IELTS reading] Wang Xiwei reading P3 (heading)
华为200万年薪聘请数据治理专家!背后的千亿市场值得关注
Netcore3.1 JSON web token Middleware