PNOR: Restore version and activation dbus objects on BMC reboot.
- Read the /media/ dir for active pnor versions. Each active
version has a pnor.toc inside /media/ which is used to
recreate the version and activation objects.
- version that matches the version inside
"/var/lib/phosphor-software-manager/pnor/ro" is considered
the current version and its priority is set to 0.
Resolves openbmc/openbmc#1846
Change-Id: Ic3d22cc310fdd60d708a73ddc406d3fb0620845c
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
2 files changed