Patch allows to specify additional parameters (e.g. '-B') by reading /etc/default/dropbear as a systemd environment file. It applies $DROPBEAR_EXTRA_ARGS which used already by the oe-core sysv initscript.
Signed-off-by: Enrico Scholz <enrico.sch...@sigma-chemnitz.de> --- meta-systemd/meta-oe/recipes-core/dropbear/dropbear/dropbear@.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-systemd/meta-oe/recipes-core/dropbear/dropbear/dropbear@.service b/meta-systemd/meta-oe/recipes-core/dropbear/dropbear/dropbear@.service index 4fba3f0..813788f 100644 --- a/meta-systemd/meta-oe/recipes-core/dropbear/dropbear/dropbear@.service +++ b/meta-systemd/meta-oe/recipes-core/dropbear/dropbear/dropbear@.service @@ -4,6 +4,7 @@ Requires=dropbearkey.service After=syslog.target dropbearkey.service [Service] -ExecStart=-/usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -p 22 +EnvironmentFile=-/etc/default/dropbear +ExecStart=-/usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -p 22 $DROPBEAR_EXTRA_ARGS ExecReload=/bin/kill -HUP $MAINPID StandardInput=socket -- 1.7.11.7 _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel