diff options
Diffstat (limited to 'conf/layer.conf')
-rw-r--r-- | conf/layer.conf | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index 7c8e3701..43a39f50 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -21,7 +21,7 @@ BBFILES_DYNAMIC += " \ | |||
21 | # This should only be incremented on significant changes that will | 21 | # This should only be incremented on significant changes that will |
22 | # cause compatibility issues with other layers | 22 | # cause compatibility issues with other layers |
23 | LAYERVERSION_virtualization-layer = "1" | 23 | LAYERVERSION_virtualization-layer = "1" |
24 | LAYERSERIES_COMPAT_virtualization-layer = "nanbield scarthgap" | 24 | LAYERSERIES_COMPAT_virtualization-layer = "walnascar whinlatter" |
25 | LAYERDEPENDS_virtualization-layer = " \ | 25 | LAYERDEPENDS_virtualization-layer = " \ |
26 | core \ | 26 | core \ |
27 | openembedded-layer \ | 27 | openembedded-layer \ |
@@ -40,9 +40,14 @@ LAYERRECOMMENDS_virtualization-layer = " \ | |||
40 | require conf/distro/include/virt_security_flags.inc | 40 | require conf/distro/include/virt_security_flags.inc |
41 | 41 | ||
42 | PREFERRED_PROVIDER_virtual/runc ?= "runc-opencontainers" | 42 | PREFERRED_PROVIDER_virtual/runc ?= "runc-opencontainers" |
43 | PREFERRED_PROVIDER_virtual/containerd ?= "containerd-opencontainers" | 43 | PREFERRED_PROVIDER_virtual/containerd ?= "containerd" |
44 | PREFERRED_PROVIDER_virtual/docker ?= "docker-moby" | 44 | PREFERRED_PROVIDER_virtual/docker ?= "docker-moby" |
45 | 45 | ||
46 | # profile can be: docker, podman, containerd, k3s, k8s, runc | ||
47 | CONTAINER_PROFILE ?= "default" | ||
48 | # virt profile can be: kvm, xen, runx | ||
49 | VIRTUALIZATION_PROFILE ?= "default" | ||
50 | |||
46 | # Sanity check for meta-virtualization layer. | 51 | # Sanity check for meta-virtualization layer. |
47 | # Setting SKIP_META_VIRT_SANITY_CHECK to "1" would skip the bbappend files check. | 52 | # Setting SKIP_META_VIRT_SANITY_CHECK to "1" would skip the bbappend files check. |
48 | INHERIT += "sanity-meta-virt" | 53 | INHERIT += "sanity-meta-virt" |
@@ -52,7 +57,7 @@ INHERIT += "sanity-meta-virt" | |||
52 | # layer.conf load time, we delay using a special bbclass that simply includes | 57 | # layer.conf load time, we delay using a special bbclass that simply includes |
53 | # the META_VIRT_CONFIG_PATH file, and likewise for the Xen and k8s configs | 58 | # the META_VIRT_CONFIG_PATH file, and likewise for the Xen and k8s configs |
54 | META_VIRT_CONFIG_PATH = "${LAYERDIR}/conf/distro/include/meta-virt-default-versions.inc" | 59 | META_VIRT_CONFIG_PATH = "${LAYERDIR}/conf/distro/include/meta-virt-default-versions.inc" |
55 | META_VIRT_CONTAINER_CONFIG_PATH = "${LAYERDIR}/conf/distro/include/meta-virt-container.inc" | 60 | META_VIRT_CONTAINER_CONFIG_PATH = "${LAYERDIR}/conf/distro/include/meta-virt-container-${CONTAINER_PROFILE}.inc" |
56 | META_VIRT_XEN_CONFIG_PATH = "${LAYERDIR}/conf/distro/include/meta-virt-xen.inc" | 61 | META_VIRT_XEN_CONFIG_PATH = "${LAYERDIR}/conf/distro/include/meta-virt-xen.inc" |
57 | K8S_CONFIG_PATH = "${LAYERDIR}/conf/distro/include/k8s-versions.inc" | 62 | K8S_CONFIG_PATH = "${LAYERDIR}/conf/distro/include/k8s-versions.inc" |
58 | USER_CLASSES:append = " meta-virt-cfg" | 63 | USER_CLASSES:append = " meta-virt-cfg" |