mirror of
https://git.yoctoproject.org/meta-security
synced 2026-07-16 15:57:21 +00:00
4963043a05
Updating BBFILES with := isn't the standard way and can break
parsing under certain conditions, instead use += which is widely used.
Signed-off-by: Sajjad Ahmed <sajjad_ahmed@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 63e1cf3ffa)
28 lines
1020 B
Plaintext
28 lines
1020 B
Plaintext
# We have a conf and classes directory, add to BBPATH
|
|
BBPATH =. "${LAYERDIR}:"
|
|
|
|
# We have a packages directory, add to BBFILES
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
|
${LAYERDIR}/recipes-*/*/*.bbappend"
|
|
|
|
BBFILE_COLLECTIONS += "integrity"
|
|
BBFILE_PATTERN_integrity := "^${LAYERDIR}/"
|
|
BBFILE_PRIORITY_integrity = "6"
|
|
|
|
# Set a variable to get to the top of the metadata location. Needed
|
|
# for finding scripts (when following the README.md instructions) and
|
|
# default debug keys (in ima-evm-rootfs.bbclass).
|
|
INTEGRITY_BASE := '${LAYERDIR}'
|
|
|
|
# We must not export this path to all shell scripts (as in "export
|
|
# INTEGRITY_BASE"), because that causes problems with sstate (becames
|
|
# dependent on location of the layer). Exporting it to just the
|
|
# interactive shell is enough.
|
|
OE_TERMINAL_EXPORTS += "INTEGRITY_BASE"
|
|
|
|
LAYERSERIES_COMPAT_integrity = "dunfell"
|
|
# ima-evm-utils depends on keyutils from meta-oe
|
|
LAYERDEPENDS_integrity = "core openembedded-layer"
|
|
|
|
BBLAYERS_LAYERINDEX_NAME_integrity = "meta-integrity"
|