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" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 17 | LAYERSERIES_COMPAT_virtualization-layer = "sumo" |
Patrick Williams | d849ec7 | 2016-08-17 14:59:38 -0500 | [diff] [blame] | 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" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 24 | PREFERRED_PROVIDER_virtual/containerd ?= "containerd-opencontainers" |
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" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 29 | |
| 30 | require ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', 'meta-virt-default-versions.inc', '', d)} |