Yocto - Image

10 Images (镜像或映像)

OpenEmbedded 构建系统提供了多个示例映像,以满足不同的需求。当你使用 bitbake 命令时,你将提供一个 "顶层 "配方,该配方基本上可以开始构建您想要的映像类型。

The OpenEmbedded build system provides several example images to satisfy different needs. When you issue the bitbake command you provide a “top-level” recipe that essentially begins the build for the type of image you want.

注意

构建不包含 GNU General Public License Version 3 (GPLv3)、GNU Lesser General Public License Version 3 (LGPLv3) 和 GNU Affero General Public License Version 3 (AGPL-3.0) 组件的镜像仅适用于 core-image-minimal 镜像。此外,如果您想构建映像并验证它不包含 GPLv3 和类似许可的组件,则必须在使用 BitBake 命令构建映像之前,在映像配方文件中做出以下更改:

    INCOMPATIBLE_LICENSE = “GPL-3.0* LGPL-3.0*”

或者,您也可以调整 local.conf 文件,为所有必须适用许可证限制的镜像都加上这一行:

    INCOMPATIBLE_LICENSE:pn-your-image-name = “GPL-3.0* LGPL-3.0*”

Note

Building an image without GNU General Public License Version 3 (GPLv3), GNU Lesser General Public License Version 3 (LGPLv3), and the GNU Affero General Public License Version 3 (AGPL-3.0) components is only tested for core-image-minimal image. Furthermore, if you would like to build an image and verify that it does not include GPLv3 and similarly licensed components, you must make the following changes in the image recipe file before using the BitBake command to build the image:

    INCOMPATIBLE_LICENSE = “GPL-3.0* LGPL-3.0*”

Alternatively, you can adjust local.conf file, repeating and adjusting the line for all images where the license restriction must apply:

    INCOMPATIBLE_LICENSE:pn-your-image-name = “GPL-3.0* LGPL-3.0*”

在 poky Git 仓库中,可以使用以下命令显示源代码目录中包含镜像配方文件的目录列表:

From within the poky Git repository, you can use the following command to display the list of directories within the Source Directo

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

夜流冰

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值