diff options
author | Jagpal Singh Gill <paligill@gmail.com> | 2024-11-13 03:33:24 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2024-12-13 20:12:19 +0300 |
commit | 768b8a0fd5e2c6d085b2cf0049a3420701c425cf (patch) | |
tree | 341bfbd404630c8ce3981107a1369adbfc20dae9 /meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch | |
parent | 0b678a01dbdeb4b3b2326487ba0e540f4be42114 (diff) | |
download | openbmc-768b8a0fd5e2c6d085b2cf0049a3420701c425cf.tar.xz |
change default to use FW Update D-Bus interface
Enable the package config for software-update-dbus-interface and remove
the service files for old services as they are being replaced by
Software.Manager service. Through this change Software Manager service
will intercept the Update D-Bus interface method call to trigger the
update rather than using the legacy flow of watching the /tmp/images
directory. More details on problem description, requirements and design
have been captured in [1].
[1]: https://github.com/openbmc/docs/blob/master/designs/code-update.md.
Related PRs:
https://gerrit.openbmc.org/q/topic:EnableUpdateInterface
Tested:
```
> systemctl status xyz.openbmc_project.Software.Manager
* xyz.openbmc_project.Software.Manager.service - Phosphor Software Manager
Loaded: loaded (/usr/lib/systemd/system/xyz.openbmc_project.Software.Manager.service; enabled; preset: enabled)
Active: active (running) since Thu 2024-11-14 00:54:43 UTC; 2min 8s ago
Process: 272 ExecStartPre=/bin/sh -c mkdir -p /tmp/images (code=exited, status=0/SUCCESS)
Main PID: 290 (phosphor-softwa)
CPU: 995ms
CGroup: /system.slice/xyz.openbmc_project.Software.Manager.service
`-290 /usr/bin/phosphor-software-manager
Nov 14 00:54:11 romulus systemd[1]: Starting Phosphor Software Manager...
Nov 14 00:54:22 romulus phosphor-software-manager[290]: Creating Software Manager
Nov 14 00:54:43 romulus systemd[1]: Started Phosphor Software Manager.
> systemctl status xyz.openbmc_project.Software.Version.service
* xyz.openbmc_project.Software.Version.service - Phosphor Version Software Manager
Loaded: loaded (/usr/lib/systemd/system/xyz.openbmc_project.Software.Version.service; enabled; preset: enabled)
Active: active (running) since Thu 2024-11-14 01:35:19 UTC; 38s ago
Process: 345 ExecStartPre=/bin/sh -c mkdir -p /tmp/images (code=exited, status=0/SUCCESS)
Main PID: 350 (phosphor-versio)
CPU: 391ms
CGroup: /system.slice/xyz.openbmc_project.Software.Version.service
`-350 /usr/bin/phosphor-version-software-manager
Nov 14 01:35:10 romulus systemd[1]: Starting Phosphor Version Software Manager...
Nov 14 01:35:19 romulus systemd[1]: Started Phosphor Version Software Manager.
> systemctl status xyz.openbmc_project.Software.BMC.Updater.service
* xyz.openbmc_project.Software.BMC.Updater.service - OpenBMC Software Update Manager
Loaded: loaded (/usr/lib/systemd/system/xyz.openbmc_project.Software.BMC.Updater.service; enabled; preset: enabled)
Drop-In: /usr/lib/systemd/system/xyz.openbmc_project.Software.BMC.Updater.service.d
`-software-bmc-updater.conf
Active: active (running) since Thu 2024-11-14 01:35:00 UTC; 1min 20s ago
Main PID: 271 (phosphor-image-)
CPU: 825ms
CGroup: /system.slice/xyz.openbmc_project.Software.BMC.Updater.service
`-271 /usr/bin/phosphor-image-updater
Nov 14 01:34:42 romulus systemd[1]: Starting OpenBMC Software Update Manager...
> systemctl status xyz.openbmc_project.Software.Manager.service
Unit xyz.openbmc_project.Software.Manager.service could not be found.
```
Change-Id: Ide8402536c2017ff0bf41a222a5e340c55a61c0b
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch')
0 files changed, 0 insertions, 0 deletions