summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2017-07-22 11:10:43 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-08-02 20:21:08 +0000
commitc71dfd79ebec73e783888fee262b0952bc2040f4 (patch)
tree517546b4047402846a7bdf5c1377c95c092193f4 /configure.ac
parent88c7406fa047c2c0eff4cbbac4ab40ba07307625 (diff)
downloadphosphor-mboxd-c71dfd79ebec73e783888fee262b0952bc2040f4.tar.gz
phosphor-mboxd-c71dfd79ebec73e783888fee262b0952bc2040f4.zip
vpnor: Add patch location
Look for the requested partition in the designated patch location (/usr/local/share/pnor/). If the partition is not found there, continue with the existing logic of looking in the other partition directories. This allows users to use patches in the virtual pnor implementation. Resolves openbmc/openbmc#1551 Change-Id: I7f27dfc9cd69a3f8ab88cb6fa77b2c1096e32841 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 94047da..5ab386f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,6 +79,7 @@ AC_DEFINE(PARTITION_TOC_FILE, "pnor.toc", [The basename of the PNOR Table of con
AC_DEFINE(PARTITION_FILES_RO_LOC, "/var/lib/phosphor-software-manager/pnor/ro", [The path to the directory containing PNOR read only partition files.])
AC_DEFINE(PARTITION_FILES_RW_LOC, "/var/lib/phosphor-software-manager/pnor/rw", [The path to the directory containing PNOR read write partition files.])
AC_DEFINE(PARTITION_FILES_PRSV_LOC, "/var/lib/phosphor-software-manager/pnor/prsv", [The path to the directory containing PNOR preserve partition files.])
+AC_DEFINE(PARTITION_FILES_PATCH_LOC, "/usr/local/share/pnor", [The path to the directory containing PNOR patch partition files.])
# Create configured output
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
OpenPOWER on IntegriCloud