mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-12 03:10:13 +00:00
layer-conf: Use *_FEATURES in LAYERDEPENDS
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -9,4 +9,8 @@ BBFILE_COLLECTIONS += "security"
|
||||
BBFILE_PATTERN_security = "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_security = "6"
|
||||
|
||||
LAYERDEPENDS_security = "openembedded-layer perl-layer networking-layer filesystems-layer"
|
||||
LAYERDEPENDS_security = "core openembedded-layer perl-layer"
|
||||
LAYERDEPENDS_security += "${@bb.utils.contains("DISTRO_FEATURES", "x11", "gnome-layer xfce-layer", "", d)}"
|
||||
LAYERDEPENDS_security += "${@bb.utils.contains("MACHINE_FEATURES", "tpm", "tpm-layer", "",d)}"
|
||||
LAYERDEPENDS_security += "${@bb.utils.contains("MACHINE_FEATURES", "tpm2", "tpm-layer", "",d)}"
|
||||
LAYERDEPENDS_security += "${@bb.utils.contains("MACHINE_FEATURES", "vtpm", "tpm-layer mete-filesystems", "",d)}"
|
||||
|
||||
Reference in New Issue
Block a user