From 9644285dc8a7e7c52b5f7554ef06d9ff53167832 Mon Sep 17 00:00:00 2001 From: Vivien Didelot Date: Mon, 1 Mar 2021 11:53:25 -0500 Subject: [PATCH] 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 --- meta/recipes-core/systemd/systemd_247.3.bb | 3 +++ 1 file changed, 3 insertions(+) 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 \ " -- 2.40.1