diff options
author | Jayanth Othayoth <ojayanth@in.ibm.com> | 2018-03-28 11:04:14 -0500 |
---|---|---|
committer | Jayanth Othayoth <ojayanth@in.ibm.com> | 2018-03-28 11:10:38 -0500 |
commit | 5248f3cf5b42da10b5ef3df52ab2582d7b931eb8 (patch) | |
tree | 0941024349f4dc5c50f5de473d0175b20f254fdf | |
parent | 4c7d206085e053a402d83380fafc768b516aab08 (diff) | |
download | openpower-pnor-code-mgmt-5248f3cf5b42da10b5ef3df52ab2582d7b931eb8.tar.gz openpower-pnor-code-mgmt-5248f3cf5b42da10b5ef3df52ab2582d7b931eb8.zip |
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>
-rwxr-xr-x | activation.cpp | 3 | ||||
-rw-r--r-- | image_verify.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/activation.cpp b/activation.cpp index ce20dcbd2..b7cdb51fa 100755 --- a/activation.cpp +++ b/activation.cpp @@ -124,7 +124,8 @@ auto Activation::activation(Activations value) -> Activations 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 f569fa712..e1e961d7b 100644 --- a/image_verify.cpp +++ b/image_verify.cpp @@ -113,7 +113,7 @@ bool Signature::verify() if (valid == false) { log<level::ERR>("Image file Signature Validation failed", - entry("IMAGE=%s", squashFSImage.c_str())); + entry("IMAGE=%s", squashFSImage)); return false; } |