commit | 1e81f23c40b5ee98b4451431d88692a632c33b2e | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Tue Jan 18 22:28:47 2022 +0000 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Mon Jan 31 22:26:24 2022 +0000 |
tree | abd8fb59431012dc9adbb725d8bdc9e131d89707 | |
parent | 25773a7e97e506f58da32a079cdbf884ffb77ddb [diff] |
Determine functional versions from mount directory In order to support the same version on the primary and backup flash locations, the version string is not enough to determine which version is functional. Therefore add a functional suffix to the mount directory of the functional and use that to set the Version as functional. Tested: The mount directories indicate which version is functional, associations look correct. - static: root@romulus:~# ls -l /run/media/rofs-79139bc0-functional/etc/ lrwxrwxrwx 1 root root 15 Jan 22 20:11 os-release -> /etc/os-release root@romulus:~# busctl call xyz.openbmc_project.ObjectMapper /xyz/openbmc_project/software/functional org.freedesktop.DBus.Properties Get ss xyz.openbmc_project.Association endpoints v as 1 "/xyz/openbmc_project/software/79139bc0" - ubi root@witherspoon:~# df /dev/ubiblock0_0 18816 18816 0 100% /media/rofs-cfb85943-functional /dev/ubiblock4_0 18816 18816 0 100% /media/rofs-26085328 - mmc: Verified functional association is correct, the rofs directories are still unmounted after the bmc updater starts. Change-Id: I8114a86b36ca1c6b1634b01fcce3cef0a2369eca Signed-off-by: Adriana Kobylak <anoo@us.ibm.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
.