aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2021-03-15 15:12:03 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-03-16 09:30:48 -0400
commit5d7d39943f02b74be6d77f706d06323fda998c4e (patch)
treeb09bb3cce45ef5a08eae257c004db4f49256d938
parentd891808b4585543b722cf4ddabb0321a040386e9 (diff)
downloadmeta-virtualization-5d7d39943f02b74be6d77f706d06323fda998c4e.tar.gz
meta-virtualization-5d7d39943f02b74be6d77f706d06323fda998c4e.tar.bz2
meta-virtualization-5d7d39943f02b74be6d77f706d06323fda998c4e.zip
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 <bruce.ashfield@gmail.com>
-rw-r--r--recipes-containers/k3s/k3s_git.bb12
1 files changed, 11 insertions, 1 deletions
diff --git a/recipes-containers/k3s/k3s_git.bb b/recipes-containers/k3s/k3s_git.bb
index dc7397d..2811fb8 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"