commit | 03b3082cdbb4b197746597282037dc0d091a1a94 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Thu Mar 24 11:04:40 2022 -0500 |
committer | Adriana Kobylak <anoo@linux.ibm.com> | Mon Apr 11 20:59:38 2022 +0000 |
tree | 1a0d0cac7c304b66d5f2cf5add5462f81f924679 | |
parent | 70d72f8dc99a93cd574bc51dd012a5070e8e685a [diff] |
side-switch: check priority of running image If the running image does not have the highest priority, then return a side switch is needed Tested: - Running image has priority 0: <6> Checking for side switch reboot <6> Running firmware version path is /xyz/openbmc_project/software/74575136 <6> Running firmware version priority is 0 <6> Side switch not needed - Running image has priority 1: <6> Checking for side switch reboot <6> Running firmware version path is /xyz/openbmc_project/software/74575136 <6> Running firmware version priority is 1 <6> Running image is at priority 1, execute side switch - Running image has priority 1, alternate has priority 2 <6> Checking for side switch reboot <6> Running firmware version path is /xyz/openbmc_project/software/ef4fd5ae <6> Running firmware version priority is 1 <6> /xyz/openbmc_project/software/ef4fd5ae is the running image, skip <6> Side switch not needed - Running image is priority 3, alternate has priority 2 <6> Checking for side switch reboot <6> Running firmware version path is /xyz/openbmc_project/software/ef4fd5ae <6> Running firmware version priority is 3 <6> /xyz/openbmc_project/software/bf984b17 has a higher priority, 2, then running priority Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Id05f7b7f624059f4e2d7181283577e0cbd10e88f
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
.