summaryrefslogtreecommitdiffstats
path: root/image_verify.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'image_verify.hpp')
-rw-r--r--image_verify.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/image_verify.hpp b/image_verify.hpp
index c40713c..3c9c2a4 100644
--- a/image_verify.hpp
+++ b/image_verify.hpp
@@ -29,8 +29,13 @@ using EVP_MD_CTX_Ptr =
std::unique_ptr<EVP_MD_CTX, decltype(&::EVP_MD_CTX_destroy)>;
// BMC flash image file name list.
+#ifdef UBIFS_LAYOUT
const std::vector<std::string> bmcImages = {"image-kernel", "image-rofs",
"image-rwfs", "image-u-boot"};
+#else
+const std::vector<std::string> bmcImages = {"image-bmc"};
+#endif
+
/** @struct CustomFd
*
* RAII wrapper for file descriptor.
OpenPOWER on IntegriCloud