blob: 95912a5bfea0ef60997d6eae2c71283f97f939b3 [file] [log] [blame]
Lei YU322f3f42019-02-21 16:10:41 +08001#include "config.h"
2
3#include "item_updater_static.hpp"
4
5namespace openpower
6{
7namespace software
8{
9namespace updater
10{
11
12std::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
22std::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
32bool ItemUpdaterStatic::validateImage(const std::string& path)
33{
34 return true;
35}
36
37void ItemUpdaterStatic::processPNORImage()
38{
39}
40
41void ItemUpdaterStatic::reset()
42{
43}
44
45bool ItemUpdaterStatic::isVersionFunctional(const std::string& versionId)
46{
47 return true;
48}
49
50void ItemUpdaterStatic::freePriority(uint8_t value,
51 const std::string& versionId)
52{
53}
54
55void ItemUpdaterStatic::deleteAll()
56{
57}
58
59void ItemUpdaterStatic::freeSpace()
60{
61}
62
63void GardReset::reset()
64{
65}
66
67} // namespace updater
68} // namespace software
69} // namespace openpower