Template of install-check RAUC hook for COMPAT releases #311
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The original version of the install-check script exists in the magic-rauc-bundle branch and was used for the 2025.3.3-COMPAT release that fixed several compatibility issues introduced by earlier releases.
This template is preserved to make it easy to create alternative compat scripts, if the needed arises in the future. It is a hardened and more ergonomic version of the original.
To avoid confusion/complexity, the currently existing compat hooks are removed in a separate commit: 8133af9
If any of the compat fixes are still needed when this template is used, they should be either incorporated into the install-check script or provided as separate slot install hooks.
To quickly build the install-check script (e.g. for on-device testing), you can do
To build the whole bundle, you can do:
These changes also modify the
base/proxy-and-updatetest to allowautomated testing of the install-check script and the compat bundle. To
run the e2e tests do:
Opening a PR just to provide a convenient way to review.