Skip to content

Release v5.3.0

Compare
Choose a tag to compare
@tmarcu tmarcu released this 15 Oct 19:55
· 365 commits to master since this release
This release includes the following updates:
- Revert bundles:Update os-release file with mix info
- Add minversion header to MoM
    When the minVersion argument is provided to createManifests
    populate a header in the MoM with this version. If no flag is
    provided and the previous MoM had a minversion set populate the
    new MoM with this version.

    Write the minversion to the manifest header when the minversion
    != 0.  Since we only set minversion for the MoM the minversion
    will only be written to the MoM and not to bundle manifests.
- Fix warnings message in checkNotContains() for helpers_test
- Update comment parsing for package files to ignore # and trim
  white space

Critical Updates:
----------------
* New format bump process script (afb.sh) and test added to describe
the new format bump flow that should be followed. It outlines a much
simpler way to do bumps, and does not require moving back and forth
between formats or tooling.

* Do not update deletes over minversions
    Minversions should not update deleted files to the minversion as
    this may cause swupd to attempt to delete content twice. This
    exacerbates issues where a directory (/usr/local/bin) was
    mistakenly deleted in a version because it was mistakenly added
    earlier. Updating the delete to the minversion then causes the
    directory to be deleted off the client system again.

* Enable backwards compatible build update
    This commit enables mixer to write different manifest formats
    based on the configured format value. When introducing a
    breaking change to a manifest it will be registered with
    the format it requires. Existing template is registered to
    everything through format25 to remain compatible with Clear
    Linux OS format. Everything above the current format gets the
    new template, in this case with the minversion added to the MoM.

    This means that format bumps do not need two different versions
    of mixer installed since it will always know how to build the
    correct format based on the configured value.