Skip to content

v0.8.1: Change rsync behavior

Choose a tag to compare

@antheas antheas released this 07 Aug 08:13
· 40 commits to master since this release
53d39ca

Changes rsync behavior to overwrite destination files. May mess with directory permissions.

Fixes container policy not being copied from /usr/etc on bazzite.

Warning

This change will mess with permissions in /etc by overwriting them with those in /usr/etc .

ALWAYS USE /etc, NEVER USE /usr/etc: this is a compatibility measure for existing images

When OSTree commits get converted to OCI, /usr/etc becomes /etc.
Then during deployment, new/etc files are silently moved to /usr/etc.

Relying on /usr/etc to place modified files in customized packages is a hack
and relies on undefined behavior in the rpm-ostree source code that performs
the path rewriting.

As we create a clean commit with rechunk, it needs to either have /etc or /usr/etc otherwise
OStree will not deploy the image, displaying an error that says both directories exist.

Full Changelog: v0.8.0...v0.8.1