summaryrefslogtreecommitdiffstats
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
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 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
83RDEPENDS_${PN}-server = "${PN}" 83RDEPENDS_${PN}-server = "${PN}"
84RDEPENDS_${PN}-agent = "${PN}" 84RDEPENDS_${PN}-agent = "${PN}"
85 85
86RRECOMMENDS_${PN} = "kernel-module-xt-comment kernel-module-xt-mark kernel-module-xt-connmark kernel-module-vxlan" 86RRECOMMENDS_${PN} = "\
87 kernel-module-xt-addrtype \
88 kernel-module-xt-nat \
89 kernel-module-xt-multiport \
90 kernel-module-xt-conntrack \
91 kernel-module-xt-comment \
92 kernel-module-xt-mark \
93 kernel-module-xt-connmark \
94 kernel-module-vxlan \
95 kernel-module-xt-masquerade \
96 "
87 97
88RCONFLICTS_${PN} = "kubectl" 98RCONFLICTS_${PN} = "kubectl"
89 99