summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
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:39:03 +0000
commit85cc3aa328e24b9b218fe4c3ef00eeefd59debee (patch)
tree6dbc2766e6b4e9373d8338f9894e29cfbfce3242 /meta/recipes-core/systemd
parent67763ccd1c69c91d853149165793d56ffef5d23c (diff)
downloadpoky-85cc3aa328e24b9b218fe4c3ef00eeefd59debee.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. (From OE-Core rev: 9644285dc8a7e7c52b5f7554ef06d9ff53167832) Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-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 += "\
489 ${PN}-journal-gatewayd \ 489 ${PN}-journal-gatewayd \
490 ${PN}-journal-remote \ 490 ${PN}-journal-remote \
491 ${PN}-journal-upload \ 491 ${PN}-journal-upload \
492 kernel-module-dm-mod \
493 kernel-module-loop \
494 kernel-module-tun \
492 tar \ 495 tar \
493 " 496 "
494 497