-
Notifications
You must be signed in to change notification settings - Fork 0
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
F40: failed to write bootloader configuation
when installing from Anaconda ISO
#58
Comments
One thing I'll point out here is that I think IoT should stop being its own base image and build on top instead of fedora-bootc - the bootupd integration is already tested and working there and it's not a really good idea to try to re-do that I would say. I think we can refactor things such that the bootupd integration is only enabled in greenboot when installed on a derivation of fedora-bootc. For example, the container image could do something like this:
or so. Or, the more painful way would be to try to split the package. Or, change it so it doesn't |
As for why things are failing, it's probably because the IoT builds aren't doing https://gitlab.com/fedora/bootc/base-images/-/blob/main/tier-0/bootupd.yaml?ref_type=heads#L31 but again I think the better fix here is to get to a world of container derivation, not where IoT is its own base image. |
Let's explore that idea in a separate issue? Maybe #53 or #57? Or create a new one if you'd like
We've done that for F41 and F40, so I'm not sure why we are hitting the failure. Since we are breaking F40 builds, dropping |
Oh right, we also reverted it for F40 - https://pagure.io/fedora-iot/ostree/c/dc36d6caf078e60eebbf22b1786e53535aee7a15?branch=f40 So that explains why F40 was failing |
One issue is that fedora-bootc I believe is too fat for IoT. |
I opened https://gitlab.com/fedora/bootc/base-images/-/merge_requests/48 related to this. @nullr0ute @miabbott interested in your thoughts from the IoT side. |
@pcdubs please have a look at Jonathan's proposal above ⬆️ |
Short term, I would remove the bootupd dependency in greenboot for Fedora 40. Hopefully we keep bootupd enabled in F41 and it can stay there. |
Ah, that's what you did in https://src.fedoraproject.org/rpms/greenboot/c/e897d5d8709a64e405b22c9f347e1891b9f0306c?branch=f40 so LGTM. |
As noted above, this was fixed and no longer an issue. |
The OpenQA tests have discovered that the Anaconda ISO install path is failing with the error
failed to write bootloader configuation
https://openqa.fedoraproject.org/tests/2857297#step/_do_install_and_reboot/115
It's believed that the most recent
greenboot
update (https://bodhi.fedoraproject.org/updates/FEDORA-2024-1d32971a85) is the likely culprit.It is pulling in
bootupd
as part of theRequires
(see fedora-iot/greenboot#129) and the Anaconda installer is trying to usebootupd
to install the bootloader (https://github.com/rhinstaller/anaconda/blob/443d5e6d7e3f97477dbdc870d73957fcc34d0fc5/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py#L504-L509).Fedora IoT 40 isn't equipped to support
bootupd
at this time, so we likely need to remove theRequires: bootupd
from the spec fileThe text was updated successfully, but these errors were encountered: