meta-netmodule-distro/recipes-user-module
Alexandre Bard 66216504ee um-service-cfg: Small improvements
Since kernel 5.10 upgrade, this script was actually not working
properly. The script is waiting on network.target to be ready, but
network.target does not mean that the route to user module is already
setup. And since with kernel 5.10 the route needs a bridge to be setup,
this takes a bit longer to be ready.

When there is no route to an IP address, ping does not wait the
specified timeout (-W) and returns immediately with an error. this was
leading to the 30 pings being done over a much smaller time period than
expected and therefore made the service fail before the route was setup.

Also in case the user module was not found, the service did not fail but
continued checking the port, which failed (of course) and the script was
then wrongly assuming the presence of an old UM.

BugzID: 81969
2022-11-14 14:36:18 +01:00
..
socket-uart recipes-user-module: create a new folder for user-module recipes 2021-08-17 02:50:18 +02:00
um-service-cfg um-service-cfg: Small improvements 2022-11-14 14:36:18 +01:00