summaryrefslogtreecommitdiffstats
path: root/serialize.hpp
Commit message (Collapse)AuthorAgeFilesLines
* 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