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 Directory that contain image recipe fil