From 85cc3aa328e24b9b218fe4c3ef00eeefd59debee Mon Sep 17 00:00:00 2001 From: Vivien Didelot Date: Mon, 1 Mar 2021 11:53:25 -0500 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd_247.3.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta') 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 \ " -- cgit v1.2.3-54-g00ecf