mirror of
https://github.com/clearlinux/mixer-tools.git
synced 2026-09-04 12:41:37 +00:00
The mixer.state file now tracks the previous mix version with the PREVIOUS_MIX_VERSION field. When this value is not set, it will default to the LAST_VER or 0 when LAST_VER is invalid. Format bumps create an important exception for the value of PREVIOUS_MIX_VERSION. During a format bump, PREVIOUS_MIX_VERSION will be overridden by the LAST_VER which will prevent PREVIOUS_MIX_VERSION from altering format bump behavior. Additionally, the mixer.state version was incremented and tests for state file version conversions were added. Signed-off-by: John Akre <john.w.akre@intel.com>