Skip to content
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

Cannot rpm-ostree rebase or bootc switch to local images built using podman/buildah on top of bazzite #1892

Open
dkolb opened this issue Nov 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dkolb
Copy link

dkolb commented Nov 18, 2024

Describe the bug

See demo repo with scripts showing steps taken to reproduce: https://github.com/dkolb/bazzite-local-build-problem

bazzite-local-build-problem on git main took 6m23s x ./build-and-switch-bazzite.sh
+ sudo buildah build -t localhost/bazzite-gnome:local -f Containerfile.bazzite .
STEP 1/2: FROM ghcr.io/ublue-os/bazzite-gnome:stable
STEP 2/2: RUN   rpm-ostree install hardinfo2 &&   ostree container commit
<Cut>
+ sudo bootc switch --transport containers-storage localhost/bazzite-gnome:local
ERROR Switching: Pulling: Preparing import: Fetching manifest: Parsing manifest layout: Missing ostree.final-diffid sha256:12787d84fa137cd5649a9005efe98ec9d05ea46245fdc50aecb7dd007f2035b1

However, if I build off of the ghcr.io/ublue-os/silverblue-main:41, this error does not occur.

What did you expect to happen?

I expect to be able to sudo buildah build or sudo podman build and then bootc switch to the image. Something about how the bazzite image is built is breaking my ability to build off of the image.

I've tried pushing the image up to a registry (ghcr.io/dkolb/bazzite-gnome) and it still has issues.

I'm a bit at the end of my rope here, because I just cannot figure out what exactly what about the Bazzite image makes this process break.

Output of rpm-ostree status

bazzite-local-build-problem on git main > rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
                   Digest: sha256:0663cb3c11263222062040a8d3c9dcdac991980ce63a38de170b9bcbdd08a44f
                  Version: 41.20241112.1 (2024-11-12T23:54:35Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
                   Digest: sha256:0663cb3c11263222062040a8d3c9dcdac991980ce63a38de170b9bcbdd08a44f
                  Version: 41.20241112.1 (2024-11-12T23:54:35Z)
            LocalPackages: bluetooth-suspend-fix-0.0.0-0.git.1.0c588cf.fc40.x86_64

Hardware

bazzite-local-build-problem on git main > cat /sys/devices/virtual/dmi/id/product_name 
AMD Ryzen 9 7950X3D 16-Core Processor          

Extra information or context

I've been wandering most of the Universal Build/Blue Build ecosystem it seems trying to solve this, lol.

@dkolb dkolb changed the title Cannot rpm-ostree rebase or bootc switch to local images built using podman/buildah Cannot rpm-ostree rebase or bootc switch to local images built using podman/buildah on top of bazzite Nov 18, 2024
@dosubot dosubot bot added the bug Something isn't working label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant