]> code.ossystems Code Review - openembedded-core.git/commit
connman: mark connman-wait-online as SYSTEMD_PACKAGE
authorAndré Draszik <git@andred.net>
Mon, 21 Oct 2019 10:46:59 +0000 (11:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Oct 2019 08:20:37 +0000 (08:20 +0000)
commit5607d38af39294bf97a878b414a0212278b66b2c
tree5960d4d629dfc21c22a42180fcbc839455ee07c3
parent759a37e315d72e462a617f1cda326b8f198e3d4e
connman: mark connman-wait-online as SYSTEMD_PACKAGE

The connman-wait-online package currently isn't marked as
systemd-enabled package. This means it is impossible to
auto-enable the service during image creation or package
installation, as no preset files and no pkg_postinst()
snippet is being created.

This change should have been done as part of the
upgrade to v1.31

Note:
connman-wait-online is needed when connman is in use
in more complex network/interface setups for systemd's
network-online.target to report success.
systemd-networkd's systemd-networkd-wait-online.service
alone doesn't work in such scenarios and simply times
out, as it know nothing about the expected network/
interface configuration, meaning the target doesn't
boot successfully (systemctl list-units --failed),
and long delays are seen, caused by waiting for the
systemd-networkd-wait-online.service timeout.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a8d18eeee6dc188d8becc778bfa933031490781)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-connectivity/connman/connman.inc