Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Enable mixer reset functionality #702

@reaganlo

Description

@reaganlo

User should have an option to reset mixer to a desired version. Based on implicit behavior or through additional flags user should be able to do the following:

  • Reset the mixer workspace to the previous successful mix version or to a specified mix version.
    E.g. sudo mixer reset or sudo mixer reset --to <ver>
    This should include resetting the latest version files and recreating the latest signature file. The content of rest of the mix versions should not be modified.
  • User should have an option of deleting the content of all mix versions greater than the reset version.
    E.g. sudo mixer reset --clean
  • User should have an option of not recreating the latest signature file.
    E.g. sudo mixer reset --no-signing

Note: Currently the following are the files related to mix versioning:

- mixversion
- mixer.state
- update/image/LAST_VER
- update/www/version/latest_version
- update/www/version/latest_version.sig
- update/www/version/format<format>/latest_version
- update/www/version/format<format>/latest_version.sig

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions