Skip to content

[5.27] rpm-ostree: Fix error paths in Transaction & update to check new version label

rpm-ostree: Fix error paths in Transaction

Make sure that all error paths mark the transaction as completed before returning.


rpm-ostree: Fix version checks for container path

Starting with rpm-ostree v2024.3, the version is only set with the 'org.opencontainers.image.version' label and no longer with the 'version' one.

Check the new label first and the old one second to be compatible with all images.

See:


This is a backport of !790 (merged)

Edited by Timothée Ravier

Merge request reports