Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | # We have a conf and classes directory, add to BBPATH |
| 2 | BBPATH .= ":${LAYERDIR}" |
| 3 | |
| 4 | # We have recipes-* directories, add to BBFILES |
| 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ |
| 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" |
| 7 | |
| 8 | BBFILE_COLLECTIONS += "security" |
| 9 | BBFILE_PATTERN_security = "^${LAYERDIR}/" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 10 | BBFILE_PRIORITY_security = "8" |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 11 | |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 12 | LAYERSERIES_COMPAT_security = "kirkstone" |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 13 | |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 14 | LAYERDEPENDS_security = "core openembedded-layer" |
| 15 | |
| 16 | BBFILES_DYNAMIC += " \ |
| 17 | perl-layer:${LAYERDIR}/dynamic-layers/meta-perl/recipes-*/*/*.bb \ |
| 18 | perl-layer:${LAYERDIR}/dynamic-layers/meta-perl/recipes-*/*/*.bbappend \ |
| 19 | meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \ |
| 20 | meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \ |
| 21 | " |
Andrew Geissler | f1e4406 | 2021-04-15 15:52:46 -0500 | [diff] [blame] | 22 | |
Andrew Geissler | a1a6aef | 2021-06-25 14:23:58 -0500 | [diff] [blame] | 23 | # Sanity check for meta-security layer. |
| 24 | # Setting SKIP_META_SECURITY_SANITY_CHECK to "1" would skip the bbappend files check. |
| 25 | INHERIT += "sanity-meta-security" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 26 | |
| 27 | QB_KERNEL_CMDLINE_APPEND = " ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', 'apparmor=1 security=apparmor', '', d)}" |
| 28 | |