Skip to content

Conversation

cgwalters
Copy link
Member

We have a bug in https://issues.redhat.com/browse/OCPBUGS-7275 where we need an updated rpm-ostree on the host in order to make future upgrades work.

This adds basic support for hotfixes, which are RPMs that live in the extensions container, but are intended to be applied-live by the MCD.

They appear in /usr/share/rpm-ostree/extensions/hotfixes with the hotfix data (YAML) reserialized to JSON.

cgwalters added a commit to cgwalters/os that referenced this pull request Feb 13, 2023
This builds on coreos/coreos-assembler#3352
to add the latest build of RHEL8 rpm-ostree inside our
extensions container so the MCD can live-apply it.

Part of https://issues.redhat.com/browse/OCPBUGS-7275
@cgwalters
Copy link
Member Author

Demonstration use in openshift/os#1162

We have a bug in https://issues.redhat.com/browse/OCPBUGS-7275
where we need an updated rpm-ostree on the host in order
to make future upgrades work.

This adds basic support for hotfixes, which are RPMs that live
in the extensions container, but are intended to be applied-live
by the MCD.

They appear in `/usr/share/rpm-ostree/extensions/hotfixes` with
the hotfix data (YAML) reserialized to JSON.
Copy link
Member

@travier travier left a comment

Choose a reason for hiding this comment

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

Sounds reasonable to me. Hopefully we won't use it that much.

@cgwalters
Copy link
Member Author

cgwalters commented Feb 14, 2023

(What you're not seeing here is that I got 90% through writing a patch for rpm-ostree compose extensions to handle this too, only to realize that because we've changed things such that we use the target system for the extensions build, we'd need to fast track a rhel9 (edit: 9) build of rpm-ostree shipped with that change, so that we can fast track a rhel8 build of rpm-ostree...)

@cgwalters cgwalters merged commit 3ad4cf5 into coreos:main Feb 14, 2023
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