commit | bb024eba5895c5c283ca48679e39503e40672495 | [log] [tgz] |
---|---|---|
author | Jagpal Singh Gill <paligill@gmail.com> | Sun Apr 07 23:34:00 2024 -0700 |
committer | Jagpal Singh Gill <paligill@gmail.com> | Mon Aug 26 17:50:11 2024 -0700 |
tree | 16b4ffa015f8d71619ae302b214529341c4ef331 | |
parent | fc33ba86773d2f02cee1093bea3e5da405028220 [diff] |
start-update-interface: item_updater & activation Refactor item_updater so new update-manager module can call create the required interfaces such as version, activation etc for the incoming update request. To facilitate this, new APIs are exposed and useUpdateDBusInterface is added to class constructor so required initializations can be performed accordingly. useUpdateDBusInterface helps to skip D-Bus callback registration for new software interfaces as item_updater will rely on start update D-Bus interface for intercepting image update requests. The apply time will be passed to the software manager via start update interface, so this patch adds an apply time parameter to the activation class. checkApplyTimeImmediate() can decide based on useUpdateDBusInterface whether to use the ApplyTime value from activation class or get it from the Settingsd for the old legacy flow. This change is based on - https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/65738 https://gerrit.openbmc.org/c/openbmc/docs/+/65739 Change-Id: I8477b0850f0a18630c197774bfa076d4c98096b1 Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture
To build this package, do the following steps:
meson build
ninja -C build
To clean the repository run rm -r build
.