diff options
author | Lei YU <mine260309@gmail.com> | 2019-03-18 15:22:56 +0800 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2019-04-04 20:13:55 +0000 |
commit | 2b2d2298f5c6e9e596ed3ae84326a6ae804c46a4 (patch) | |
tree | 29dbffbb025678743a19d2fac3ca0f4cf64be017 /ubi/item_updater_ubi.cpp | |
parent | 799eb1972c141271068cd4ea1010753e0347d8ab (diff) | |
download | openpower-pnor-code-mgmt-2b2d2298f5c6e9e596ed3ae84326a6ae804c46a4.tar.gz openpower-pnor-code-mgmt-2b2d2298f5c6e9e596ed3ae84326a6ae804c46a4.zip |
Static layout: support image verification
Add support of image verification for static layout PNOR code update.
Tested: Verify the PNOR code update succeeds with valid-signed PNOR;
and fails with invalid-signed PNOR or a PNOR tarball without
signature.
Change-Id: I1aafeb4e8e07eaa16c170f33f4f21940f7c9c146
Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'ubi/item_updater_ubi.cpp')
-rw-r--r-- | ubi/item_updater_ubi.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ubi/item_updater_ubi.cpp b/ubi/item_updater_ubi.cpp index 188b0bffd..227bc1a69 100644 --- a/ubi/item_updater_ubi.cpp +++ b/ubi/item_updater_ubi.cpp @@ -30,8 +30,6 @@ namespace fs = std::experimental::filesystem; using namespace sdbusplus::xyz::openbmc_project::Common::Error; using namespace phosphor::logging; -constexpr auto squashFSImage = "pnor.xz.squashfs"; - std::unique_ptr<Activation> ItemUpdaterUbi::createActivationObject( const std::string& path, const std::string& versionId, const std::string& extVersion, |