Skip to content
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

Software Object: Provide method to delete all versions #2264

Closed
anoo1 opened this issue Sep 6, 2017 · 2 comments
Closed

Software Object: Provide method to delete all versions #2264

anoo1 opened this issue Sep 6, 2017 · 2 comments
Assignees

Comments

@anoo1
Copy link
Contributor

anoo1 commented Sep 6, 2017

Currently a factory reset removes the read-write portion of versions, but does not delete all the versions on the system.
The user can individually delete versions but manufacturing for example would want to be able to 'clean' up a machine of all versions uploaded and activated on the system before shipping.

@tritzsm
Copy link
Member

tritzsm commented Sep 7, 2017

This needs a bit of design discussion. In my opinion, it would make sense to simply...

  • Implement the generic DeleteAll under xyz.openbmc_project.Software.Version.
  • Write a DeleteAll override function that, when called, deletes all versions except the current one.

@rfrandse
Copy link

https://gerrit.openbmc-project.xyz/6737 BMC Updater: Add function to delete all versions
Resolves #2264 Software Object: Provide method to delete all versions

williamspatrick pushed a commit to openbmc/openpower-pnor-code-mgmt that referenced this issue Sep 28, 2017
As a part of openbmc/openbmc#2264, implements a DeleteAll for all
non-functional host versions in the host updater.

Change-Id: I2943df248463ba8b4537096cf08f902d758c24a0
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
geissonator pushed a commit that referenced this issue Oct 4, 2017
This commit provides supplementary service files for
#2264, which adds a function to delete all versions to
each of the BMC and host updaters.

The service files introduced in this change will locate any "orphaned"
BMC or host volumes - that is to say, volumes which do not correspond to
a current version on the system.

Change-Id: If324d24f66ba08fb0b76ca5873addb6bf2446f97
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
bradbishop pushed a commit to openbmc/meta-phosphor that referenced this issue Jan 13, 2018
This commit provides supplementary service files for
openbmc/openbmc#2264, which adds a function to delete all versions to
each of the BMC and host updaters.

The service files introduced in this change will locate any "orphaned"
BMC or host volumes - that is to say, volumes which do not correspond to
a current version on the system.

Change-Id: If324d24f66ba08fb0b76ca5873addb6bf2446f97
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
bradbishop pushed a commit to openbmc/meta-openpower that referenced this issue Jan 13, 2018
This commit provides supplementary service files for
openbmc/openbmc#2264, which adds a function to delete all versions to
each of the BMC and host updaters.

The service files introduced in this change will locate any "orphaned"
BMC or host volumes - that is to say, volumes which do not correspond to
a current version on the system.

Change-Id: If324d24f66ba08fb0b76ca5873addb6bf2446f97
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants