diff options
author | Saqib Khan <khansa@us.ibm.com> | 2017-04-04 11:07:07 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-04-09 12:03:11 +0000 |
commit | 77420d2617215bc8e39bc515d439759d8616e5e6 (patch) | |
tree | 3d0e2c47cc1eaf7d824200645eccd7108567879e /configure.ac | |
parent | 268616bfdc26859e9e4a4e6f0983ef164491162d (diff) | |
download | openpower-pnor-code-mgmt-77420d2617215bc8e39bc515d439759d8616e5e6.tar.gz openpower-pnor-code-mgmt-77420d2617215bc8e39bc515d439759d8616e5e6.zip |
Read image version from the MANIFEST.
According to Patrick, all information regarding the
image must be read from the MANIFEST, such as version.
Also we must never open/read pnor.toc.
Change-Id: Icf9f83f9ec055de21e2cf13e4ab4ab4afafc2af7
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index de7c5b798..9c0b40681 100755 --- a/configure.ac +++ b/configure.ac @@ -61,9 +61,9 @@ AC_DEFINE(VERSION_IFACE, "xyz.openbmc_project.Software.Version", AC_DEFINE(BUSNAME_UPDATER, "org.open_power.Software.Host.Updater", [The item updater DBus busname to own.]) -AC_ARG_VAR(TOC_FILE, [The path to the pnor toc file]) -AS_IF([test "x$TOC_FILE" == "x"], [TOC_FILE="/tmp/pnor/pnor.toc"]) -AC_DEFINE_UNQUOTED([TOC_FILE], ["$TOC_FILE"], [The path to the pnor toc file]) +AC_ARG_VAR(MANIFEST_FILE, [The path to the MANIFEST file]) +AS_IF([test "x$MANIFEST_FILE" == "x"], [MANIFEST_FILE="/tmp/pnor/MANIFEST"]) +AC_DEFINE_UNQUOTED([MANIFEST_FILE], ["$MANIFEST_FILE"], [The path to the MANIFEST file]) AC_DEFINE(MAPPER_BUSNAME, "xyz.openbmc_project.ObjectMapper", [The object mapper busname.]) |