Patrick Williams | d849ec7 | 2016-08-17 14:59:38 -0500 | [diff] [blame] | 1 | # We have a conf and classes directory, append to BBPATH |
| 2 | BBPATH .= ":${LAYERDIR}" |
| 3 | |
| 4 | # We have a recipes directory, add to BBFILES |
| 5 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" |
| 6 | |
| 7 | BBFILE_COLLECTIONS += "virtualization-layer" |
| 8 | BBFILE_PATTERN_virtualization-layer := "^${LAYERDIR}/" |
| 9 | BBFILE_PRIORITY_virtualization-layer = "8" |
| 10 | |
| 11 | # Custom licenses used by some packages in this layer |
| 12 | LICENSE_PATH += "${LAYERDIR}/files/custom-licenses" |
| 13 | |
| 14 | # This should only be incremented on significant changes that will |
| 15 | # cause compatibility issues with other layers |
| 16 | LAYERVERSION_virtualization-layer = "1" |
| 17 | |
| 18 | LAYERDEPENDS_virtualization-layer = "core networking-layer" |
| 19 | |
| 20 | # Override security flags |
| 21 | require conf/distro/include/virt_security_flags.inc |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 22 | |
| 23 | PREFERRED_PROVIDER_virtual/runc ?= "runc-docker" |
| 24 | PREFERRED_PROVIDER_virtual/containerd ?= "containerd-docker" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 25 | |
| 26 | # Sanity check for meta-virtualization layer. |
| 27 | # Setting SKIP_META_VIRT_SANITY_CHECK to "1" would skip the bbappend files check. |
| 28 | INHERIT += "sanity-meta-virt" |