commit | 4c2386a575c9bd2f69d73af131cd635cc3c09b04 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Fri Sep 17 14:12:26 2021 +0000 |
committer | Adriana Kobylak <anoo@linux.ibm.com> | Fri Sep 17 14:36:16 2021 +0000 |
tree | 37edeecd0985c6d868f2ba7f2a38e9d64cd59904 | |
parent | ff675db0cea05b3a829aa5a125d95d1392105e94 [diff] |
mmc: Add dependency to openpower-update-bios-attr-table.service The openpower-update-bios-attr-table.service creates symlinks to lid files is the partition files do not exist. The service openpower-process-host-firmware.service creates symlinks to the well known firmware name by deleting the base partition file and creting a symlink. If both services run at the same time, they can interfere, causing the bios attr service to create a symlink when it's not desired (it thinks the file doesn't exist but it's because the process host fw service just deleted it to create its symlink). Add a dependency to serialize them. Tested: Before fix: Sep 17 14:18:35 p10bmc systemd[1]: Starting Set POWER host firmware well-known names... Sep 17 14:18:35 p10bmc systemd[1]: Starting Update BIOS attr table with host firmware well-known names... Sep 17 14:18:35 p10bmc openpower-update-manager[2026]: "/media/hostfw/running/DEVTREE": File exists Sep 17 14:18:35 p10bmc systemd[1]: openpower-process-host-firmware.service: Deactivated successfully. Sep 17 14:18:35 p10bmc systemd[1]: Finished Set POWER host firmware well-known names. Sep 17 14:18:35 p10bmc systemd[1]: openpower-update-bios-attr-table.service: Deactivated successfully. Sep 17 14:18:35 p10bmc systemd[1]: Finished Update BIOS attr table with host firmware well-known names. After fix: Sep 17 14:19:26 p10bmc systemd[1]: Starting Set POWER host firmware well-known names... Sep 17 14:19:26 p10bmc systemd[1]: openpower-process-host-firmware.service: Deactivated successfully. Sep 17 14:19:26 p10bmc systemd[1]: Finished Set POWER host firmware well-known names. Sep 17 14:19:26 p10bmc systemd[1]: Starting Update BIOS attr table with host firmware well-known names... Sep 17 14:19:26 p10bmc systemd[1]: openpower-update-bios-attr-table.service: Deactivated successfully. Sep 17 14:19:26 p10bmc systemd[1]: Finished Update BIOS attr table with host firmware well-known names. Change-Id: I3bc0366a38676d391e1087c27f2fcff487ac5914 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
OpenPower PNOR (Processor NOR) Code Management provides a set of host software management applications for OpenPower systems. The host firmware is stored on the PNOR chip. More information can be found at Software Architecture or Host Code Update
To build this package, do the following steps:
meson build
ninja -C build
To clean the repository run rm -r build
.