-
Notifications
You must be signed in to change notification settings - Fork 892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
phosphor-software-manager: Not removing old priority on static flash layout #3363
Comments
The existing code in
For witherspoon, it has two BMC flash chips, and
For static flash layout with only one flash chip, there is always only one BMC image which is functional.
A possible fix could be changing the logic, if |
Per some recent community discussions, we're looking to have bugs assigned directly to the repo responsible. |
Issue moved to openbmc/phosphor-bmc-code-mgmt #2 via ZenHub |
phosphor-software-manager now supports flashing tarball of static flash layout build, and it saves the priority file in persistent storage (e.g.
/var/lib/obmc/phosphor-bmc-code-mgmt
).When doing code update, the old priority file is expected to be removed.
However, due to the current code logic (ItemUpdater::freeSpace())only applying to the case that the BMC has two flash chips, it does not have a chance to remove the old priority file.
So eventually the old priority files are left on persistent storage and never get removed, e.g. on a Romulus machine:
The text was updated successfully, but these errors were encountered: