ibm-read-vpd: Switch to the right symlinked JSON
This commit:
* Makes the VPD parser use the symlinked JSON if one is setup.
For example via a system VPD service.
* Makes the vpd-tool and vpd-manager use the symlinked JSON.
Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com>
Change-Id: Id7f845e02917e3a66d1fa9754da71ed0005c0cb8
diff --git a/vpd_tool.cpp b/vpd_tool.cpp
index 9129eca..e0e010a 100644
--- a/vpd_tool.cpp
+++ b/vpd_tool.cpp
@@ -66,7 +66,7 @@
CLI11_PARSE(app, argc, argv);
- ifstream inventoryJson(INVENTORY_JSON);
+ ifstream inventoryJson(INVENTORY_JSON_SYM_LINK);
auto jsObject = json::parse(inventoryJson);
try