From: Vivien Didelot Date: Mon, 1 Mar 2021 16:53:25 +0000 (-0500) Subject: systemd-container: recommends StartExecPre modules X-Git-Tag: yocto-3.3~271 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=9644285dc8a7e7c52b5f7554ef06d9ff53167832;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- 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 \ "