meta-ids: install packagegroup-ids if the feature ids configured

Signed-off-by: Jia Zhang <lans.zhang2008@gmail.com>
This commit is contained in:
Jia Zhang
2017-08-24 21:01:32 +08:00
parent 5a24b8f94f
commit aa14422754
3 changed files with 7 additions and 1 deletions

View File

@@ -11,4 +11,7 @@ BBFILE_PRIORITY_ids = "10"
BBLAYERS_LAYERINDEX_NAME_ids = "meta-ids"
LAYERDEPENDS_ids = "core"
LAYERDEPENDS_ids = "\
core \
networking-layer \
"

View File

@@ -8,5 +8,6 @@ LIC_FILES_CHKSUM = "\
inherit packagegroup
RDEPENDS_${PN} += "\
snort \
mtree \
"

View File

@@ -12,6 +12,8 @@ SECURE_CORE_IMAGE_EXTRA_INSTALL_append += "\
"packagegroup-ima", "", d)} \
${@bb.utils.contains("DISTRO_FEATURES", "luks", \
"packagegroup-luks", "", d)} \
${@bb.utils.contains("DISTRO_FEATURES", "ids", \
"packagegroup-ids", "", d)} \
"
IMAGE_INSTALL = "\