diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2018-10-30 12:17:31 -0500 |
---|---|---|
committer | Adriana Kobylak <anoo@us.ibm.com> | 2018-11-02 14:27:45 -0500 |
commit | ea4e6aee07f61d0c076fd5f8f13808604523cda2 (patch) | |
tree | a88f9f739225365eb557c7bcd881c63f8748fb0d /configure.ac | |
parent | b5237174f285f6ac7ce7877605c3e15e071e2f04 (diff) | |
download | openpower-pnor-code-mgmt-ea4e6aee07f61d0c076fd5f8f13808604523cda2.tar.gz openpower-pnor-code-mgmt-ea4e6aee07f61d0c076fd5f8f13808604523cda2.zip |
msl_verify: Read the functional version from D-Bus
The VERSION partition may have a secure boot header, so
the version string would not be the first line.
Instead of adding logic to parse the VERSION partition
and to protect against future changes, read the version
string from D-Bus instead by querying the functional
association.
Tested: The functional version was read successfully.
Change-Id: Icf0a9bd9f360ef9f0732579fa073f8661b8c57bd
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 95b70e3a2..79dbef858 100755 --- a/configure.ac +++ b/configure.ac @@ -125,6 +125,8 @@ AC_DEFINE(SYSTEMD_INTERFACE, "org.freedesktop.systemd1.Manager", [systemd interface.]) AC_DEFINE(SYSTEMD_PROPERTY_INTERFACE, "org.freedesktop.DBus.Properties", [systemd properties interface.]) +AC_DEFINE(ASSOCIATIONS_INTERFACE, "org.openbmc.Associations", + [The associations interface.]) AC_DEFINE(PNOR_TOC_FILE, "pnor.toc", [The name of the PNOR table of contents file]) |