summaryrefslogtreecommitdiffstats
path: root/serialize.hpp
Commit message (Collapse)AuthorAgeFilesLines
* clang-format: Update to match docs repoGunnar Mills2018-09-111-1/+2
| | | | | | | | Update the .clang-format file. Now includes header sorting and updating PointerAlignment. Change-Id: I5c7690d8d83cdebe26ff3a73b90a2a8c17dd8054 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Clang 6 updatesGunnar Mills2018-09-071-2/+2
| | | | | | | Just some minor fixes. Change-Id: I000c456e51c62220d7a5fed8100cfc6c13ef9551 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Revert "Delay return from updateUbootEnvVars() until service file finishes"Adriana Kobylak2018-04-091-7/+0
| | | | | | | | | | This reverts commit 2225fda1dbe6e5fe87c009174d941369ab7e7b3a. This change causes intermittent issues that haven't been solved. Reverting for now. Change-Id: Ie5c9b2700ad715741e4e90a6e7afcdd5c6b095f3 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Delay return from updateUbootEnvVars() until service file finishesMichael Tritz2018-04-041-0/+7
| | | | | | | | | | | | | | | | | | 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>
* BMC: Restore version and activation dbus objects on BMC reboot.Saqib Khan2017-08-301-1/+2
| | | | | | | | | | | - Read the /media/ dir for active bmc versions. Each active version has a /etc/os-release inside /media/ which is used to recreate the version and activation objects. Resolves openbmc/openbmc#2137 Change-Id: I40e97396b0912095868172a5a6566e2189a3446b Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* BMC: Store RedundancyPriority on System.Saqib Khan2017-08-201-0/+34
This commit extends the functionality of the BMC software updater by preserving RedundancyPriority values through any kind of reset. This is accomplished by storing priority values in serial files in /var/lib/obmc/phosphor-bmc-code-mgmt/ using the Cereal library. Each time a priority value is modified, the value in the corresponding version file is adjusted. Resolves openbmc/openbmc#2125 Change-Id: Ie697279895bc5ff5fdef31fa88c78dc2bc63390a Signed-off-by: Saqib Khan <khansa@us.ibm.com>
OpenPOWER on IntegriCloud