diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2023-03-02 16:14:18 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2023-03-08 17:08:02 -0500 |
commit | fd0958ed9e38fb5215218ac772230abc2f65c4c2 (patch) | |
tree | 73cedd817a8b2563c5f25254ee7c2272b62a4763 /recipes-containers/cri-o | |
parent | b3346bfb2652ec9665e9d1ef9e9e63e218cd2bfd (diff) | |
download | meta-virtualization-fd0958ed9e38fb5215218ac772230abc2f65c4c2.tar.gz |
containers: use VIRTUAL-RUNTIME variable to allow container runtime flexibility
Rather than using virtual-runc (which choses between the old docker and
opencontainer variants), use the newly added
VIRTUAL-RUNTIME_container-runtime variable, which allows switching
betwen runc and crun.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/cri-o')
-rw-r--r-- | recipes-containers/cri-o/cri-o_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-containers/cri-o/cri-o_git.bb b/recipes-containers/cri-o/cri-o_git.bb index 2ae3303c..0121b2f7 100644 --- a/recipes-containers/cri-o/cri-o_git.bb +++ b/recipes-containers/cri-o/cri-o_git.bb | |||
@@ -50,7 +50,7 @@ PACKAGECONFIG[selinux] = ",,libselinux" | |||
50 | 50 | ||
51 | PACKAGES =+ "${PN}-config" | 51 | PACKAGES =+ "${PN}-config" |
52 | 52 | ||
53 | RDEPENDS:${PN} += " virtual-containerd virtual-runc" | 53 | RDEPENDS:${PN} += " virtual-containerd ${VIRTUAL-RUNTIME_container_runtime}" |
54 | RDEPENDS:${PN} += " e2fsprogs-mke2fs conmon util-linux iptables conntrack-tools" | 54 | RDEPENDS:${PN} += " e2fsprogs-mke2fs conmon util-linux iptables conntrack-tools" |
55 | 55 | ||
56 | inherit systemd | 56 | inherit systemd |