Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 1 | # We have a conf and classes directory, add to BBPATH |
| 2 | BBPATH =. "${LAYERDIR}:" |
| 3 | |
| 4 | # We have a packages directory, add to BBFILES |
Andrew Geissler | 157744b | 2020-10-30 15:42:05 -0500 | [diff] [blame] | 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" |
| 7 | |
| 8 | BBFILE_COLLECTIONS += "integrity" |
| 9 | BBFILE_PATTERN_integrity := "^${LAYERDIR}/" |
| 10 | BBFILE_PRIORITY_integrity = "6" |
| 11 | |
| 12 | # Set a variable to get to the top of the metadata location. Needed |
| 13 | # for finding scripts (when following the README.md instructions) and |
| 14 | # default debug keys (in ima-evm-rootfs.bbclass). |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 15 | INTEGRITY_BASE := '${LAYERDIR}' |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 16 | |
| 17 | # We must not export this path to all shell scripts (as in "export |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 18 | # INTEGRITY_BASE"), because that causes problems with sstate (becames |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 19 | # dependent on location of the layer). Exporting it to just the |
| 20 | # interactive shell is enough. |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 21 | OE_TERMINAL_EXPORTS += "INTEGRITY_BASE" |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 22 | |
Andrew Geissler | 78b7279 | 2022-06-14 06:47:25 -0500 | [diff] [blame] | 23 | LAYERSERIES_COMPAT_integrity = "kirkstone langdale" |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 24 | # ima-evm-utils depends on keyutils from meta-oe |
| 25 | LAYERDEPENDS_integrity = "core openembedded-layer" |
Brad Bishop | 9a53395 | 2019-12-19 16:39:26 -0500 | [diff] [blame] | 26 | |
| 27 | BBLAYERS_LAYERINDEX_NAME_integrity = "meta-integrity" |
Andrew Geissler | 5bea8d8 | 2020-07-24 16:10:05 -0500 | [diff] [blame] | 28 | |
Andrew Geissler | a1a6aef | 2021-06-25 14:23:58 -0500 | [diff] [blame] | 29 | # Sanity check for meta-integrity layer. |
| 30 | # Setting SKIP_META_INTEGRITY_SANITY_CHECK to "1" would skip the bbappend files check. |
| 31 | INHERIT += "sanity-meta-integrity" |
| 32 | |
Andrew Geissler | 5bea8d8 | 2020-07-24 16:10:05 -0500 | [diff] [blame] | 33 | BBFILES_DYNAMIC += " \ |
| 34 | networking-layer:${LAYERDIR}/dynamic-layers/meta-networking/recipes-*/*/*.bbappend \ |
| 35 | " |