我编写了以下packagegroup-amatek.bb
用于测试目的的包组:
# Copyright (C) 2012-2013 Freescale Semiconductor
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "Example package group"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r5"
inherit packagegroup
PROVIDES = "${PACKAGES}"
PACKAGES += " \
${PN}-package1 \
${PN}-package2 \
"
RDEPENDS_${PN}-package1 = " \
package1-depend1 \
"
RDEPENDS_${PN}-package2 = " \
package2-depend2 \
"
PACKAGE_ARCH = "${MACHINE_ARCH}"
如果在我的自定义图像文件(amatek-image
)中,我只包括packagegroup-amatek-package1
:
IMAGE_INSTALL = "packagegroup-amatek-package1"
我希望它package2-depend2
没有安装,因为它是未安装的软件包的依赖项packagegroup-amatek-package2
。
但是,bitbake amatek-image -g -u depexp
显示也package2-depend2
已安装:
这是预期的行为吗?