AlmaLinux / AlmaLinux/bootc-images

[BUG]: AlmaLinux 10 image build failure

未关闭
#65 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Dockerfile
星标
50
派生
16
PR 合并指标
30 天内没有已合并 PR

描述

### 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。