appcommands: modify appData.json path
Application persistent data should be written to
/var/lib/${PN}.
Change the path for appData.json from /etc
to /var/lib/fb-ipmi-oem/.
Change-Id: Ibf4bb729f919b2bebf0c0ce46465e194c5845799
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
diff --git a/include/appcommands.hpp b/include/appcommands.hpp
index 55cf81b..469ad4a 100644
--- a/include/appcommands.hpp
+++ b/include/appcommands.hpp
@@ -44,7 +44,7 @@
#define SIZE_LAST_BOOT_TIME 4
#define SIZE_PCIE_PORT_CONFIG 2
-#define JSON_APP_DATA_FILE "/etc/appData.json"
+#define JSON_APP_DATA_FILE "/var/lib/fb-ipmi-oem/appData.json"
#define KEY_SYSFW_VER "sysfw_ver_server"
#define KEY_BIOS_BOOT_LEN "bios_boot_list_len"