summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivien Didelot <vdidelot@pbsc.com>2021-03-01 11:53:25 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-03-06 22:36:34 +0000
commit9644285dc8a7e7c52b5f7554ef06d9ff53167832 (patch)
treecafdff2be0a1b190059ada645c9832f2aa4336b6
parent801658f0161270c76829a123a4f531ca5a1f73db (diff)
downloadopenembedded-core-9644285dc8a7e7c52b5f7554ef06d9ff53167832.tar.gz
systemd-container: recommends StartExecPre modules
The systemd-nspawn@.service file uses the following line to try loading the tun, loop and dm-mod kernel modules, in a non fatal way: ExecStartPre=-/sbin/modprobe -abq tun loop dm-mod A non-zero return code from modprobe will not stop the service from starting, but it would be convenient to inform the user about this optional support, so add these modules to RRECOMMENDS. Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/systemd/systemd_247.3.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_247.3.bb b/meta/recipes-core/systemd/systemd_247.3.bb
index 3454085e5f..cd67e65abe 100644
--- a/meta/recipes-core/systemd/systemd_247.3.bb
+++ b/meta/recipes-core/systemd/systemd_247.3.bb
@@ -489,6 +489,9 @@ RRECOMMENDS_${PN}-container += "\
${PN}-journal-gatewayd \
${PN}-journal-remote \
${PN}-journal-upload \
+ kernel-module-dm-mod \
+ kernel-module-loop \
+ kernel-module-tun \
tar \
"