]> code.ossystems Code Review - openembedded-core.git/commit
systemd-container: recommends StartExecPre modules
authorVivien Didelot <vdidelot@pbsc.com>
Mon, 1 Mar 2021 16:53:25 +0000 (11:53 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 6 Mar 2021 22:36:34 +0000 (22:36 +0000)
commit9644285dc8a7e7c52b5f7554ef06d9ff53167832
treecafdff2be0a1b190059ada645c9832f2aa4336b6
parent801658f0161270c76829a123a4f531ca5a1f73db
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>
meta/recipes-core/systemd/systemd_247.3.bb