blob: fa2e015e05d86bad3fbc28bffbaef883c069458e [file] [log] [blame]
Patrick Williamsd849ec72016-08-17 14:59:38 -05001# We have a conf and classes directory, append to BBPATH
2BBPATH .= ":${LAYERDIR}"
3
4# We have a recipes directory, add to BBFILES
5BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
6
7BBFILE_COLLECTIONS += "virtualization-layer"
8BBFILE_PATTERN_virtualization-layer := "^${LAYERDIR}/"
9BBFILE_PRIORITY_virtualization-layer = "8"
10
11# Custom licenses used by some packages in this layer
12LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
13
14# This should only be incremented on significant changes that will
15# cause compatibility issues with other layers
16LAYERVERSION_virtualization-layer = "1"
Brad Bishop316dfdd2018-06-25 12:45:53 -040017LAYERSERIES_COMPAT_virtualization-layer = "sumo"
Patrick Williamsd849ec72016-08-17 14:59:38 -050018LAYERDEPENDS_virtualization-layer = "core networking-layer"
19
20# Override security flags
21require conf/distro/include/virt_security_flags.inc
Brad Bishop6e60e8b2018-02-01 10:27:11 -050022
23PREFERRED_PROVIDER_virtual/runc ?= "runc-docker"
Brad Bishop316dfdd2018-06-25 12:45:53 -040024PREFERRED_PROVIDER_virtual/containerd ?= "containerd-opencontainers"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050025
26# Sanity check for meta-virtualization layer.
27# Setting SKIP_META_VIRT_SANITY_CHECK to "1" would skip the bbappend files check.
28INHERIT += "sanity-meta-virt"
Brad Bishop316dfdd2018-06-25 12:45:53 -040029
30require ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', 'meta-virt-default-versions.inc', '', d)}