-
-
Notifications
You must be signed in to change notification settings - Fork 56
feat: rechunk with rpm-ostree #1476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
dc4541d to
68d2199
Compare
This comment was marked as outdated.
This comment was marked as outdated.
36d88c5 to
657bfdb
Compare
7a5e210 to
25f0e9d
Compare
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
3e7989c to
99734ed
Compare
|
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. |
0b8c438 to
9063704
Compare
|
Noted. Also tested switching to image with this and nothing blew up. Also rollback was succesfull |
|
Rebased 2 laptops of mine, no issues as far as I can tell |
437f6d4 to
7e44df7
Compare
00ad441 to
c5e9b69
Compare
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.
enable when coreos/rpm-ostree#5545 fixed
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
0c732cf to
2624e02
Compare
#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
filter non-rpm content (mostly our stuff anyway) put it in it's own layerDon't bother for now, reasons listed here: stop rechunking with hhd/legacy-rechunker and use rpm-ostree rechunker #1470