Skip to content

Conversation

@renner0e
Copy link
Member

@renner0e renner0e commented Dec 17, 2025

#1470

https://coreos.github.io/rpm-ostree/build-chunked-oci/

https://gitlab.com/fedora/bootc/base-images/-/blob/main/bootc-base-imagectl

we need the hacky sysusers workaround to get off of the hhd/rechunker
If we don't do this we may get users with blackscreens -> no sddm group/user -> no SDDM

  • test rechunker fix on as much systems as possible
  • filter non-rpm content (mostly our stuff anyway) put it in it's own layer Don't bother for now, reasons listed here: stop rechunking with hhd/legacy-rechunker and use rpm-ostree rechunker #1470
  • implement a workaround for this podman bug, We need a super recent podman version for this as older versions don't push the annotations at all and newer ones push them if the registry already has the layer present, just use podman from brew HAHA
  • pull old production image (rpm-ostree rechunked) before rechunking so we don't unnecessarily reshuffle layers, resulting in sometimes re-downloading layers, this old image has to have the same ref as the new rechunked target image
  • test rpm-ostree rechunker get-aurora-dev/aurora-test#1

@renner0e renner0e force-pushed the rpm-ostree-rechunker branch 2 times, most recently from dc4541d to 68d2199 Compare December 17, 2025 05:26
@renner0e renner0e changed the title feat: rpm-ostree rechunker feat: rpm-ostree rechunker, remove hhd rechunker Dec 17, 2025
@renner0e

This comment was marked as outdated.

@renner0e renner0e force-pushed the rpm-ostree-rechunker branch 4 times, most recently from 36d88c5 to 657bfdb Compare December 18, 2025 02:30
@renner0e renner0e force-pushed the rpm-ostree-rechunker branch 11 times, most recently from 7a5e210 to 25f0e9d Compare December 24, 2025 03:37
renner0e added a commit to renner0e/aurora that referenced this pull request Dec 24, 2025
We have to use homebrew podman to workaround issues in older
ubuntu 24.04 for the rpm-ostree rechunker anyway in the future.

I think this is the most sensible way to add only a single binary to
the $PATH and not all of them. So we are being very deliberate about
programs we get from homebrew instead.

See: ublue-os#1476
@renner0e renner0e force-pushed the rpm-ostree-rechunker branch 3 times, most recently from 3e7989c to 99734ed Compare December 26, 2025 22:15
@inffy inffy moved this to Todo in todo.projectbluefin.io Dec 27, 2025
@castrojo castrojo moved this from Todo to Blocked in todo.projectbluefin.io Dec 27, 2025
@renner0e
Copy link
Member Author

if we merge this then we should do this after the weeklies published so we get testing from our most technical users + we should make a blog post about this change only, no other topics, if something blows up we have a central place to do damage control of it, if it ever comes to that.

@renner0e renner0e force-pushed the rpm-ostree-rechunker branch from 0b8c438 to 9063704 Compare December 27, 2025 19:08
@renner0e renner0e changed the title feat: rpm-ostree rechunker, remove hhd rechunker feat: rechunk with rpm-ostree Dec 27, 2025
@inffy
Copy link
Member

inffy commented Dec 27, 2025

Noted.

Also tested switching to image with this and nothing blew up. Also rollback was succesfull

@renner0e
Copy link
Member Author

Rebased 2 laptops of mine, no issues as far as I can tell

@renner0e renner0e force-pushed the rpm-ostree-rechunker branch 2 times, most recently from 437f6d4 to 7e44df7 Compare December 30, 2025 13:06
@renner0e renner0e force-pushed the rpm-ostree-rechunker branch from 00ad441 to c5e9b69 Compare January 17, 2026 14:07
The legacy rechunker is basically unmaintained, this is a much safer
option to reduce our (delta) image size.

https://coreos.github.io/rpm-ostree/build-chunked-oci/

https://gitlab.com/fedora/bootc/base-images/-/blob/main/bootc-base-imagectl

The metadata from a prior built image is used to construct the new
one so that the difference between them is minimized if possible.
We need a newer podman version than ubuntu 24.04 provides,
homebrew is the most elegant solution.

We need the layer annotations for the rpm-ostree rechunker so that
updates are more efficient.

workaround for:
containers/podman#27796
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.

stop rechunking with hhd/legacy-rechunker and use rpm-ostree rechunker

2 participants