AlmaLinux / AlmaLinux/bootc-images

[BUG]: AlmaLinux 10 image build failure

Open
#65 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Dockerfile
Stars
50
Forks
16
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Current Behavior

Alma 10 bootc image build fails. Specific output:
```
kernel-debug-uki-virt.posttrans: error: rpm-ostree kernel-install wrapper: No such file or directory (os error 2)
error: Executing compose install: ExitStatus(unix_wait_status(256))
Error executing command: Command '['rpm-ostree', 'compose', 'rootfs', '--source-root=/', '/usr/share/doc/bootc-base-imagectl/manifests/almalinux-10.yaml', '/target-rootfs']' returned non-zero exit status 1.
Error: building at STEP "RUN /usr/libexec/bootc-base-imagectl build-rootfs --reinject --manifest=almalinux-10 /target-rootfs": while running runtime: exit status 1
make: *** [Makefile:14: image] Error 1
```

### Expected Behavior

Running ``make image`` successfully builds an image.

### Steps To Reproduce

1. git clone this repo
2. cd into bootc-images
3. run ``make image``

### Anything else?

I added:
```
exclude-packages:
- kernel-debug-uki-virt
```
And the problem goes away. I noticed that one of the includes `centos-stream.yaml` from the standard manifest explicitly calls these out to have them removed within the . For some reason this one is still being added to the list of packages to be installed and causing the build failure.
I have been able to reproduce this twice on 2 separate machines.
One running Fedora 44 and the other running AlmaLinux 9.8.
I have tried 10-kitten once, and it is also problematic.

### Search terms

image-build

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.