From 5d7d39943f02b74be6d77f706d06323fda998c4e Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 15 Mar 2021 15:12:03 -0400 Subject: k3s: rrecommend required kernel modules If the required modules aren't in the image, k3s will fail to start. Set the requirements as RRECOMMENDS for image types that don't install the kernel-modules meta-package. Signed-off-by: Bruce Ashfield --- recipes-containers/k3s/k3s_git.bb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/recipes-containers/k3s/k3s_git.bb b/recipes-containers/k3s/k3s_git.bb index dc7397dc..2811fb8f 100644 --- a/recipes-containers/k3s/k3s_git.bb +++ b/recipes-containers/k3s/k3s_git.bb @@ -83,7 +83,17 @@ RDEPENDS_${PN} = "k3s-cni conntrack-tools coreutils findutils iptables iproute2 RDEPENDS_${PN}-server = "${PN}" RDEPENDS_${PN}-agent = "${PN}" -RRECOMMENDS_${PN} = "kernel-module-xt-comment kernel-module-xt-mark kernel-module-xt-connmark kernel-module-vxlan" +RRECOMMENDS_${PN} = "\ + kernel-module-xt-addrtype \ + kernel-module-xt-nat \ + kernel-module-xt-multiport \ + kernel-module-xt-conntrack \ + kernel-module-xt-comment \ + kernel-module-xt-mark \ + kernel-module-xt-connmark \ + kernel-module-vxlan \ + kernel-module-xt-masquerade \ + " RCONFLICTS_${PN} = "kubectl" -- cgit v1.2.3-54-g00ecf