commit | 2225fda1dbe6e5fe87c009174d941369ab7e7b3a | [log] [tgz] |
---|---|---|
author | Michael Tritz <mtritz@us.ibm.com> | Tue Mar 06 10:35:36 2018 -0600 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Wed Apr 04 11:15:35 2018 -0500 |
tree | d8c910adc00ad3238c751dc1fd77b8b3acd879f3 | |
parent | 9a9d7c2a0bb15a77188e4d14d10ebf0929bd3a46 [diff] |
Delay return from updateUbootEnvVars() until service file finishes This commit, as the title might suggest, delays the return from the function updateUbootEnvVars() until the called service file completes running. The reason for this change is because the service file runs asynchronously, so activation seemingly finishes before the priorities are actually changed. This is accomplished by adding a generic function waitForServiceFile() which waits until the completion of a supplied one-shot service file or until a timeout is reached. Resolves openbmc/openbmc#2857 Change-Id: I7c0333f510f8239a0b66cc5a20159c91aa2dbdee Signed-off-by: Michael Tritz <mtritz@us.ibm.com> Signed-off-by: Saqib Khan <khansa@us.ibm.com>
Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To clean the repository run `./bootstrap.sh clean`.