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>
diff --git a/configure.ac b/configure.ac
index 95b70e3..79dbef8 100755
--- a/configure.ac
+++ b/configure.ac
@@ -125,6 +125,8 @@
[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])