#
bf2bb2b1 |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I96286490697ce5d7fecc1c9c358f5f1d054137ec
show more ...
|
#
58e18979 |
| 06-Oct-2021 |
Patrick Williams <patrick@stwcx.xyz> |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ice1ca68c7c753bb67a4d8a478399225fc1b0b1f5
|
#
c9bb6425 |
| 27-Aug-2021 |
Patrick Williams <patrick@stwcx.xyz> |
logging: switch to lg2 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id62fbc10ab83a0cf94d235e1d1ea3e031295fbf5
|
#
58aa7508 |
| 08-Jun-2020 |
Adriana Kobylak <anoo@us.ibm.com> |
clang-format: update to latest from docs repo The openbmc/docs/style/cpp/.clang-format has been updated to support clang-format10, take this opportunity to update it in this repo.
clang-format: update to latest from docs repo The openbmc/docs/style/cpp/.clang-format has been updated to support clang-format10, take this opportunity to update it in this repo. Change-Id: I9e6b9853bf4cd7399b1ae504ea3be5093d763fee Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
#
292159f4 |
| 05-May-2020 |
Adriana Kobylak <anoo@us.ibm.com> |
meson: Fix compile errors Meson runs stricter compiler checks. Fix the following errors in preparation to moving to meson: - Unusued parameters. Ex: ../download_manager_main
meson: Fix compile errors Meson runs stricter compiler checks. Fix the following errors in preparation to moving to meson: - Unusued parameters. Ex: ../download_manager_main.cpp:7:14: error: unused parameter ‘argc’ [-Werror=unused-parameter] ../static/item_updater_helper.cpp:16:42: error: unused parameter ‘entryId’ [-Werror=unused-parameter] ../watch.cpp:77:38: error: unused parameter ‘s’ [-Werror=unused-parameter] [test/utest.cpp:166]: (style) Variable 'pubKeyConfFile' is assigned a value that is never used. - Add destructor and initialize variable in init list: ../flash.hpp:18:7: error: ‘class phosphor::software::updater::Flash’ has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor] [version.hpp:81]: callback is assigned in constructor body. Consider performing initialization in initialization list Tested: Verified code update on witherspoon still worked. Change-Id: Ib7a0e0e11d6bfe6eeeb3f2ea4bfefd43505d639e Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
#
b0ce996a |
| 07-Sep-2018 |
Gunnar Mills <gmills@us.ibm.com> |
clang-format: Update to match docs repo Update the .clang-format file. Now includes header sorting and updating PointerAlignment. Change-Id: I5c7690d8d83cdebe26ff3a73b90a2a8c17d
clang-format: Update to match docs repo Update the .clang-format file. Now includes header sorting and updating PointerAlignment. Change-Id: I5c7690d8d83cdebe26ff3a73b90a2a8c17dd8054 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
#
2285fe0f |
| 27-Feb-2018 |
Adriana Kobylak <anoo@us.ibm.com> |
Enable clang code format Change-Id: Ia899858c11cff6e4fa26b820b35b1e5dca1b57df Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
#
9b200b01 |
| 18-Sep-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Style changes in image_manager_main.cpp Style only changes Change-Id: I7cec0ac37bc7c72f0dfeedf77811f5036820019f Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
#
ba239881 |
| 26-May-2017 |
Saqib Khan <khansa@us.ibm.com> |
Move Active BMC version object to item_updater. - There needs to be only one version class for both BMC and PNOR images. Thus removing the BMCVERSION class and moving the functio
Move Active BMC version object to item_updater. - There needs to be only one version class for both BMC and PNOR images. Thus removing the BMCVERSION class and moving the functionality to MANAGER class. Change-Id: I6dda818960588cfd9ed345fe93068531efc7a877 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
show more ...
|
#
3027bba9 |
| 27-Apr-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Create version dbus object Read the version and purpose from the manifest. Compute the id from the version. Create the image dir, <IMAGE_UPLOAD_DIR>/<id>/. Create the version object
Create version dbus object Read the version and purpose from the manifest. Compute the id from the version. Create the image dir, <IMAGE_UPLOAD_DIR>/<id>/. Create the version object with the version, purpose, id and image dir path. Change-Id: I6d2d710fb8eeeda085af8ab116f2dafc720a2ade Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
#
9b7c0b6d |
| 24-Apr-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Rename class Version to BMCVersion The class Version is renamed to BMCVersion. This is needed so there is not 2 classes with the same name, Version, under namespace phosphor software
Rename class Version to BMCVersion The class Version is renamed to BMCVersion. This is needed so there is not 2 classes with the same name, Version, under namespace phosphor software manager. This name is more appropriate for the BMC Version Class that handles the active BMC code. Change-Id: I9eef4f5240f6cac90a31d6c31aa7f518213830e3 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
#
059e2335 |
| 12-Apr-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
image manager: add inotify watch Add an inotify watch to the known software image location. Hook the inotify fd with sd-event, so that on callback, version d-bus objects can be
image manager: add inotify watch Add an inotify watch to the known software image location. Hook the inotify fd with sd-event, so that on callback, version d-bus objects can be created based on the newly added software image. Resolves openbmc/openbmc#1444. Change-Id: I5c460f820c8d3a851b8ddc969f26d38870c36991 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
#
7f160bc8 |
| 11-Apr-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
Rename version_software_manager_main.cpp In view of a single process that watches image upload locations via inotify, and creates software version d-bus objects (both default and via
Rename version_software_manager_main.cpp In view of a single process that watches image upload locations via inotify, and creates software version d-bus objects (both default and via user-supplied images), renaming version_software_manager_main.cpp to image_manager_main.cpp. Change-Id: Id12deefd9377f7ba4ce4889f26f2f32d01cc5d38 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|