summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2017-05-14 16:13:00 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-05-24 17:23:54 +0000
commit55f9e835765e71ce2edd3513bc216f9bbb61ab78 (patch)
tree327d1ff36f9ff1ea0b3523d3bff304cb0cf59a64 /configure.ac
parent1e9b7163913b1e64766a4263bc47e6cff5af3120 (diff)
downloadopenpower-pnor-code-mgmt-55f9e835765e71ce2edd3513bc216f9bbb61ab78.tar.gz
openpower-pnor-code-mgmt-55f9e835765e71ce2edd3513bc216f9bbb61ab78.zip
Activation: Point active image to requested image
Once an image has been updated, point the current image to it. Closes openbmc/openbmc#1278 Change-Id: If21938283913d4b40cadf44952b2a530c9266812 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cbbebefcc..7c9278c12 100755
--- a/configure.ac
+++ b/configure.ac
@@ -80,6 +80,23 @@ AC_DEFINE(SYSTEMD_PATH, "/org/freedesktop/systemd1",
AC_DEFINE(SYSTEMD_INTERFACE, "org.freedesktop.systemd1.Manager",
[systemd interface.])
+AC_DEFINE(PNOR_TOC_FILE, "pnor.toc",
+ [The name of the PNOR table of contents file])
+AC_DEFINE(PNOR_RO_PREFIX, "/media/pnor-ro-",
+ [The prefix path for the versioned read-only pnor partitions])
+AC_DEFINE(PNOR_RW_PREFIX, "/media/pnor-rw-",
+ [The prefix path for the versioned read-write pnor partitions])
+AC_DEFINE(PNOR_PRSV, "/media/pnor-prsv",
+ [The path for the preserved pnor partitions])
+AC_DEFINE(PNOR_ACTIVE_PATH, "/var/lib/phosphor-software-manager/pnor/",
+ [Path to the active pnor partitions])
+AC_DEFINE(PNOR_RO_ACTIVE_PATH, "/var/lib/phosphor-software-manager/pnor/ro",
+ [Path to the active read-only pnor partitions])
+AC_DEFINE(PNOR_RW_ACTIVE_PATH, "/var/lib/phosphor-software-manager/pnor/rw",
+ [Path to the active read-write pnor partitions])
+AC_DEFINE(PNOR_PRSV_ACTIVE_PATH, "/var/lib/phosphor-software-manager/pnor/prsv",
+ [Path to the active preserved pnor partitions])
+
AC_CONFIG_FILES([Makefile test/Makefile])
AC_OUTPUT
OpenPOWER on IntegriCloud