Lei YU | 322f3f4 | 2019-02-21 16:10:41 +0800 | [diff] [blame^] | 1 | #include "config.h" |
| 2 | |
| 3 | #include "item_updater_static.hpp" |
| 4 | |
| 5 | namespace openpower |
| 6 | { |
| 7 | namespace software |
| 8 | { |
| 9 | namespace updater |
| 10 | { |
| 11 | |
| 12 | std::unique_ptr<Activation> ItemUpdaterStatic::createActivationObject( |
| 13 | const std::string& path, const std::string& versionId, |
| 14 | const std::string& extVersion, |
| 15 | sdbusplus::xyz::openbmc_project::Software::server::Activation::Activations |
| 16 | activationStatus, |
| 17 | AssociationList& assocs) |
| 18 | { |
| 19 | return {}; |
| 20 | } |
| 21 | |
| 22 | std::unique_ptr<Version> ItemUpdaterStatic::createVersionObject( |
| 23 | const std::string& objPath, const std::string& versionId, |
| 24 | const std::string& versionString, |
| 25 | sdbusplus::xyz::openbmc_project::Software::server::Version::VersionPurpose |
| 26 | versionPurpose, |
| 27 | const std::string& filePath) |
| 28 | { |
| 29 | return {}; |
| 30 | } |
| 31 | |
| 32 | bool ItemUpdaterStatic::validateImage(const std::string& path) |
| 33 | { |
| 34 | return true; |
| 35 | } |
| 36 | |
| 37 | void ItemUpdaterStatic::processPNORImage() |
| 38 | { |
| 39 | } |
| 40 | |
| 41 | void ItemUpdaterStatic::reset() |
| 42 | { |
| 43 | } |
| 44 | |
| 45 | bool ItemUpdaterStatic::isVersionFunctional(const std::string& versionId) |
| 46 | { |
| 47 | return true; |
| 48 | } |
| 49 | |
| 50 | void ItemUpdaterStatic::freePriority(uint8_t value, |
| 51 | const std::string& versionId) |
| 52 | { |
| 53 | } |
| 54 | |
| 55 | void ItemUpdaterStatic::deleteAll() |
| 56 | { |
| 57 | } |
| 58 | |
| 59 | void ItemUpdaterStatic::freeSpace() |
| 60 | { |
| 61 | } |
| 62 | |
| 63 | void GardReset::reset() |
| 64 | { |
| 65 | } |
| 66 | |
| 67 | } // namespace updater |
| 68 | } // namespace software |
| 69 | } // namespace openpower |