meta-agl-core: Improve connman-wait-online usability 35/29635/2
authorScott Murray <scott.murray@konsulko.com>
Wed, 21 Feb 2024 15:12:09 +0000 (10:12 -0500)
committerScott Murray <scott.murray@konsulko.com>
Mon, 18 Mar 2024 21:12:15 +0000 (21:12 +0000)
commit4a1aef10f2aefc964e26e1bbb400249476324cd8
tree06774fa91e2ea1d16eefd155604c338eafa6add0
parent6bdb73d02d076a439ad02070d733998d17a2f28b
meta-agl-core: Improve connman-wait-online usability

Changes:
- Ship connman-wait-online in packagegroup-agl-core-connectivity.
- Add installation of a systemd drop-in configuration file for
  systemd-networkd-wait-online when VIRTUAL_RUNIME_net_manager
  is set to connman that will disable it.  This is required to
  avoid boot hangs if a unit does add a dependency on the
  network-online target.  The approach is not ideal, but it is
  not clear how to avoid systemd-networkd-wait-online getting
  enabled without actually modifying the systemd-networkd unit.

Bug-AGL: SPEC-5082

Change-Id: Id0a1276e35c68ecb6087f89a880fc069594caca4
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29697
ci-image-build: Jenkins Job builder account
Tested-by: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
(cherry picked from commit 4f764134d2f307c1eb63cea7cc0950a7873a2e43)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29635
meta-agl-core/recipes-core/systemd/systemd/wait-disable.conf [new file with mode: 0644]
meta-agl-core/recipes-core/systemd/systemd_aglcore.inc
meta-agl-core/recipes-platform/packagegroups/packagegroup-agl-core-connectivity.bb