Fix compilation issues
-Added fix for squashFSImage file name print error.
-Added fix for conf path name typo.
Change-Id: Ic11509a16d5d7c35b1bbb191175a8f710e66caad
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/activation.cpp b/activation.cpp
index ce20dcb..b7cdb51 100755
--- a/activation.cpp
+++ b/activation.cpp
@@ -124,7 +124,8 @@
fs::path imagePath(IMG_DIR);
- Signature signature(imagePath / versionId, SIGNED_IMAGE_CONF_PATH);
+ Signature signature(imagePath / versionId,
+ PNOR_SIGNED_IMAGE_CONF_PATH);
// Validate the signed image.
if (!signature.verify())
diff --git a/image_verify.cpp b/image_verify.cpp
index f569fa7..e1e961d 100644
--- a/image_verify.cpp
+++ b/image_verify.cpp
@@ -113,7 +113,7 @@
if (valid == false)
{
log<level::ERR>("Image file Signature Validation failed",
- entry("IMAGE=%s", squashFSImage.c_str()));
+ entry("IMAGE=%s", squashFSImage));
return false;
}