diff options
Diffstat (limited to 'conf/distro')
-rw-r--r-- | conf/distro/include/meta-virt-container-containerd.inc | 17 | ||||
-rw-r--r-- | conf/distro/include/meta-virt-container-default.inc | 19 | ||||
-rw-r--r-- | conf/distro/include/meta-virt-container-docker.inc | 17 | ||||
-rw-r--r-- | conf/distro/include/meta-virt-container-k3s-host.inc | 11 | ||||
-rw-r--r-- | conf/distro/include/meta-virt-container-k3s-node.inc | 4 | ||||
-rw-r--r-- | conf/distro/include/meta-virt-container-podman.inc | 11 | ||||
-rw-r--r-- | conf/distro/include/meta-virt-container.inc | 28 | ||||
-rw-r--r-- | conf/distro/include/meta-virt-default-versions.inc | 4 |
8 files changed, 96 insertions, 15 deletions
diff --git a/conf/distro/include/meta-virt-container-containerd.inc b/conf/distro/include/meta-virt-container-containerd.inc new file mode 100644 index 00000000..73438298 --- /dev/null +++ b/conf/distro/include/meta-virt-container-containerd.inc | |||
@@ -0,0 +1,17 @@ | |||
1 | include meta-virt-container.inc | ||
2 | |||
3 | ## CNCF "components" | ||
4 | |||
5 | # engines: docker/docker-moby, virtual-containerd, cri-o, podman, lxc | ||
6 | VIRTUAL-RUNTIME_container_engine ??= "containerd" | ||
7 | # runtime: runc, crun, runv, runx | ||
8 | VIRTUAL-RUNTIME_container_runtime ??= "crun" | ||
9 | # networking: cni, netavark | ||
10 | VIRTUAL-RUNTIME_container_networking ??= "cni" | ||
11 | # dns: cni, aardvark-dns | ||
12 | VIRTUAL-RUNTIME_container_dns ??= "" | ||
13 | # orchestration: k8s, k3s | ||
14 | VIRTUAL-RUNTIME_container_orchestration ??= "" | ||
15 | |||
16 | VIRTUAL-RUNTIME_cri ??= "virtual-containerd" | ||
17 | VIRTUAL-RUNTIME_cni ??= "cni" | ||
diff --git a/conf/distro/include/meta-virt-container-default.inc b/conf/distro/include/meta-virt-container-default.inc new file mode 100644 index 00000000..0a3d621f --- /dev/null +++ b/conf/distro/include/meta-virt-container-default.inc | |||
@@ -0,0 +1,19 @@ | |||
1 | include meta-virt-container.inc | ||
2 | |||
3 | ## CNCF "components" | ||
4 | |||
5 | # engines: docker/docker-moby, virtual-containerd, cri-o, podman, lxc | ||
6 | VIRTUAL-RUNTIME_container_engine ??= "docker" | ||
7 | # runtime: runc, crun, runv, runx | ||
8 | VIRTUAL-RUNTIME_container_runtime ??= "virtual-runc" | ||
9 | # networking: cni, netavark | ||
10 | VIRTUAL-RUNTIME_container_networking ??= "cni" | ||
11 | # dns: cni, aardvark-dns | ||
12 | VIRTUAL-RUNTIME_container_dns ??= "cni" | ||
13 | # orchestration: k8s, k3s | ||
14 | VIRTUAL-RUNTIME_container_orchestration ??= "" | ||
15 | |||
16 | ## Kubernetes terminology "components" | ||
17 | |||
18 | VIRTUAL-RUNTIME_cri ??= "virtual-containerd" | ||
19 | VIRTUAL-RUNTIME_cni ??= "cni" | ||
diff --git a/conf/distro/include/meta-virt-container-docker.inc b/conf/distro/include/meta-virt-container-docker.inc new file mode 100644 index 00000000..a82dd5e2 --- /dev/null +++ b/conf/distro/include/meta-virt-container-docker.inc | |||
@@ -0,0 +1,17 @@ | |||
1 | include meta-virt-container.inc | ||
2 | |||
3 | ## CNCF "components" | ||
4 | |||
5 | # engines: docker/docker-moby, virtual-containerd, cri-o, podman, lxc | ||
6 | VIRTUAL-RUNTIME_container_engine ??= "docker-moby" | ||
7 | # runtime: runc, crun, runv, runx | ||
8 | VIRTUAL-RUNTIME_container_runtime ??= "virtual-runc" | ||
9 | # networking: cni, netavark | ||
10 | VIRTUAL-RUNTIME_container_networking ??= "" | ||
11 | # dns: cni, aardvark-dns | ||
12 | VIRTUAL-RUNTIME_container_dns ??= "" | ||
13 | # orchestration: k8s, k3s | ||
14 | VIRTUAL-RUNTIME_container_orchestration ??= "" | ||
15 | |||
16 | VIRTUAL-RUNTIME_cri ??= "virtual-containerd" | ||
17 | VIRTUAL-RUNTIME_cni ??= "cni" | ||
diff --git a/conf/distro/include/meta-virt-container-k3s-host.inc b/conf/distro/include/meta-virt-container-k3s-host.inc new file mode 100644 index 00000000..166d7cf1 --- /dev/null +++ b/conf/distro/include/meta-virt-container-k3s-host.inc | |||
@@ -0,0 +1,11 @@ | |||
1 | include meta-virt-container.inc | ||
2 | |||
3 | VIRTUAL-RUNTIME_container_engine ?= "" | ||
4 | VIRTUAL-RUNTIME_container_runtime ?= "" | ||
5 | VIRTUAL-RUNTIME_container_networking ?= "" | ||
6 | VIRTUAL-RUNTIME_container_dns ?= "" | ||
7 | VIRTUAL-RUNTIME_container_orchestration ?= "k3s-host" | ||
8 | |||
9 | ## Kubernetes terminology "components" | ||
10 | VIRTUAL-RUNTIME_cri ?= "virtual-containerd" | ||
11 | VIRTUAL-RUNTIME_cni ?= "cni" | ||
diff --git a/conf/distro/include/meta-virt-container-k3s-node.inc b/conf/distro/include/meta-virt-container-k3s-node.inc new file mode 100644 index 00000000..46ac71f1 --- /dev/null +++ b/conf/distro/include/meta-virt-container-k3s-node.inc | |||
@@ -0,0 +1,4 @@ | |||
1 | require meta-virt-container-k3s-host.inc | ||
2 | |||
3 | VIRTUAL-RUNTIME_container_orchestration = "k3s-node" | ||
4 | |||
diff --git a/conf/distro/include/meta-virt-container-podman.inc b/conf/distro/include/meta-virt-container-podman.inc new file mode 100644 index 00000000..b57eaaca --- /dev/null +++ b/conf/distro/include/meta-virt-container-podman.inc | |||
@@ -0,0 +1,11 @@ | |||
1 | include meta-virt-container.inc | ||
2 | |||
3 | VIRTUAL-RUNTIME_container_engine ?= "podman" | ||
4 | VIRTUAL-RUNTIME_container_runtime ?= "crun" | ||
5 | VIRTUAL-RUNTIME_container_networking ?= "netavark" | ||
6 | VIRTUAL-RUNTIME_container_dns ?= "aardvark-dns" | ||
7 | VIRTUAL-RUNTIME_container_orchestration ?= "" | ||
8 | |||
9 | ## Kubernetes terminology "components" | ||
10 | VIRTUAL-RUNTIME_cri ?= "virtual-containerd" | ||
11 | VIRTUAL-RUNTIME_cni ?= "cni" | ||
diff --git a/conf/distro/include/meta-virt-container.inc b/conf/distro/include/meta-virt-container.inc index c3ac8394..d3e91eef 100644 --- a/conf/distro/include/meta-virt-container.inc +++ b/conf/distro/include/meta-virt-container.inc | |||
@@ -21,20 +21,22 @@ | |||
21 | # conflicting on target or causing runtime issues / errors. | 21 | # conflicting on target or causing runtime issues / errors. |
22 | # | 22 | # |
23 | 23 | ||
24 | ## CNCF "components" | 24 | #### CNCF "components" |
25 | 25 | ||
26 | # engines: docker-ce/docker-moby, virtual-containerd, cri-o, podman | 26 | ## engines: docker/docker-moby, virtual-containerd, cri-o, podman, lxc |
27 | VIRTUAL-RUNTIME_container_engine ??= "podman" | 27 | # VIRTUAL-RUNTIME_container_engine ??= "podman" |
28 | # runtime: runc, crun, runv, runx | 28 | ## runtime: runc, crun, runv, runx |
29 | VIRTUAL-RUNTIME_container_runtime ??= "virtual-runc" | 29 | # VIRTUAL-RUNTIME_container_runtime ??= "virtual-runc" |
30 | # networking: cni, netavark | 30 | ## networking: cni, netavark |
31 | VIRTUAL-RUNTIME_container_networking ??= "cni" | 31 | # VIRTUAL-RUNTIME_container_networking ??= "cni" |
32 | # dns: cni, aardvark-dns | 32 | ## dns: cni, aardvark-dns |
33 | VIRTUAL-RUNTIME_container_dns ??= "cni" | 33 | # VIRTUAL-RUNTIME_container_dns ??= "cni" |
34 | # orchestration: k8s, k3s | 34 | ## orchestration: k8s, k3s |
35 | VIRTUAL-RUNTIME_container_orchestration ??= "k3s" | 35 | # VIRTUAL-RUNTIME_container_orchestration ??= "k3s" |
36 | 36 | ||
37 | ## Kubernetes terminology "components" | 37 | ## Kubernetes terminology "components" |
38 | # VIRTUAL-RUNTIME_cri ??= "virtual-containerd" | ||
39 | # VIRTUAL-RUNTIME_cni ??= "cni" | ||
38 | 40 | ||
39 | VIRTUAL-RUNTIME_cri ??= "virtual-containerd" | 41 | CONTAINER_RO_REMOVE ?= " ${@bb.utils.contains('VIRTUAL-RUNTIME_container_engine', 'podman', 'shadow', '', d)}" |
40 | VIRTUAL-RUNTIME_cni ??= "cni" | 42 | ROOTFS_RO_UNNEEDED:remove = "${CONTAINER_RO_REMOVE}" |
diff --git a/conf/distro/include/meta-virt-default-versions.inc b/conf/distro/include/meta-virt-default-versions.inc index b62ec38d..7a1a655f 100644 --- a/conf/distro/include/meta-virt-default-versions.inc +++ b/conf/distro/include/meta-virt-default-versions.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | # Meta-virtuailization PREFERED_VERSION | 1 | # Meta-virtuailization PREFERED_VERSION |
2 | 2 | ||
3 | PREFERRED_VERSION_xen ?= "4.18+stable%" | 3 | PREFERRED_VERSION_xen ?= "4.20%" |
4 | PREFERRED_VERSION_xen-tools ?= "4.18+stable%" | 4 | PREFERRED_VERSION_xen-tools ?= "4.20%" |