Skip to content

Conversation

@yfyf
Copy link
Collaborator

@yfyf yfyf commented Jan 21, 2026

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

    nix-build -o install-check.sh rauc-bundle/compat-install-check-script.nix

To build the whole bundle, you can do:

    nix-build -A components.unsignedRaucBundle

These changes also modify the base/proxy-and-update test to allow
automated testing of the install-check script and the compat bundle. To
run the e2e tests do:

    ./build test-e2e

Opening a PR just to provide a convenient way to review.

For the future reader: we assume that these compat hooks are no longer
needed. If they are, they should be incorporated in the install-check
and/or other hook stages. See the next commit, which re-adds a generic
compat install-check script and hook.
@yfyf yfyf requested a review from knuton January 21, 2026 14:44
@yfyf yfyf added the reviewable Ready for initial or iterative review label Jan 21, 2026
@knuton knuton added changes suggested Asking for changes before next round of reviewing and removed reviewable Ready for initial or iterative review labels Jan 23, 2026
@yfyf yfyf force-pushed the compat-install-check branch from 64caee8 to 080fa20 Compare January 26, 2026 09:50
@yfyf yfyf added reviewable Ready for initial or iterative review and removed changes suggested Asking for changes before next round of reviewing labels Jan 26, 2026
Copy link
Member

@knuton knuton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good, thanks!

Can you squash in one addition to be very very explicit?

Then we can link this in our internal docs.

The original version of the install-check script exists in

        https://github.com/dividat/playos/blob/magic-rauc-bundle/rauc-bundle/default.nix

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.

To quickly build the script (e.g. for on-device testing), you can do

        nix-build -o install-check.sh rauc-bundle/compat-install-check-script.nix

To build the whole bundle, you can do:

        nix-build -A components.unsignedRaucBundle

This commit also modifies the `base/proxy-and-update` test to allow
automated testing of the install-check script and the compat bundle. To
run the e2e tests, do:

        ./build test-e2e
@yfyf yfyf force-pushed the compat-install-check branch from 30053d9 to 9ae4ec9 Compare January 28, 2026 08:07
@yfyf
Copy link
Collaborator Author

yfyf commented Jan 28, 2026

Done: 9ae4ec9

@knuton knuton removed the reviewable Ready for initial or iterative review label Jan 28, 2026
@knuton knuton closed this Jan 28, 2026
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

Successfully merging this pull request may close these issues.

2 participants