summaryrefslogtreecommitdiffstats
path: root/meta-integrity/conf
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-05-16 15:41:49 -0700
committerArmin Kuster <akuster808@gmail.com>2019-05-28 07:38:41 -0700
commit6680225c05bb0834280307c223c3a545b088cbd3 (patch)
tree701dca648e192c492e1165020a900028adefcbb2 /meta-integrity/conf
parent479d9cc23a741e89b2bd4884b62d8623b1cf2a19 (diff)
downloadmeta-security-6680225c05bb0834280307c223c3a545b088cbd3.tar.gz
meta-integrity: port over from meta-intel-iot-security
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-integrity/conf')
-rw-r--r--meta-integrity/conf/layer.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-integrity/conf/layer.conf b/meta-integrity/conf/layer.conf
new file mode 100644
index 0000000..e8bb268
--- /dev/null
+++ b/meta-integrity/conf/layer.conf
@@ -0,0 +1,22 @@
1# We have a conf and classes directory, add to BBPATH
2BBPATH =. "${LAYERDIR}:"
3
4# We have a packages directory, add to BBFILES
5BBFILES := "${BBFILES} \
6 ${LAYERDIR}/recipes-*/*/*.bb \
7 ${LAYERDIR}/recipes-*/*/*.bbappend"
8
9BBFILE_COLLECTIONS += "integrity"
10BBFILE_PATTERN_integrity := "^${LAYERDIR}/"
11BBFILE_PRIORITY_integrity = "6"
12
13# Set a variable to get to the top of the metadata location. Needed
14# for finding scripts (when following the README.md instructions) and
15# default debug keys (in ima-evm-rootfs.bbclass).
16IMA_EVM_BASE := '${LAYERDIR}'
17
18# We must not export this path to all shell scripts (as in "export
19# IMA_EVM_BASE"), because that causes problems with sstate (becames
20# dependent on location of the layer). Exporting it to just the
21# interactive shell is enough.
22OE_TERMINAL_EXPORTS += "IMA_EVM_BASE"