-
Notifications
You must be signed in to change notification settings - Fork 158
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
Drop ostree-grub2 #173
Drop ostree-grub2 #173
Conversation
Since we switched to having the BLS be canonical and use the `ostree.bootloader=none` config, we don't need the `15_ostree` stuff. Drop the `ostree-grub2` package and that cruft, finally achieving what the intention was from the start in having that be a separate subpackage that was intended as a short term hack.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - seems to work fine in local tests.
Hmm, I thought we still needed this for platforms which still used Anaconda + |
Ugh yeah you're right...I guess we can just keep it on ppc64le? Is there a tracker issue for what we need to do to get ppc64le on the train and fully drop Anaconda? |
The answer here is it depends. There are two firmware interfaces for For OF, we use For OPAL, the bootloader is a Linux kernel with a built-in initramfs that contains a user-space bootloader called But since is part of the firmware, it means that we have no control on the version that contains a machine and so it will only work on ppc64le machines using OPAL that don't have an old firmware (BLS support landed in |
The issue though is that right now we don't embed the static GRUB config with
Ouch -- would it be unreasonable to say we require a version new enough for RHCOS/FCOS? Is it regular procedure to update those mini-OSes?
Yeah, we should probably discuss this in a dedicated tracker issue. |
This partially reverts commit fb1e4b0 for ppc64le only since we still use Anaconda + `grub2-mkconfig` there. See: coreos#173
I opened #174 for the ppc64le revert. Can someone more familiar with the work left on ppc64le open a tracker issue on https://github.com/coreos/fedora-coreos-tracker similar to coreos/fedora-coreos-tracker#255? (@jcajka?) |
Is it possible for users to update that firmware? Can we make doing so a prerequisite to running FCOS? |
I see, sorry for missing that when reviewing this pull-request...
That's what I thought too. The About if the OPAL firmware is regularly updated or not, I would guess that depends on the hardware vendor but @sharkcz should have a better answer. |
My understanding is that since is Open Firmware in theory users should be able to update it. But in practice vendors could have a fork and this may need to be rebased to latest upstream. For example in Fedora we don't have packages for OPAL firmware, that's up to the hardware vendor to provide. Again this is a question for @sharkcz who is more familiar with |
So IMHO you would need a "support matrix" across the available HW. If a firmware with the required new enough versions of the components is available, I think we can require the users to update first for a new project/product like RHCOS/FCOS. The number of different systems isn't large. |
+1000 |
So...it sounds like we can probably drop the anaconda code from cosa? It's not fully clear to me how much we'd need to fix after doing that - hence the request for a tracker issue, but...maybe we can drop it now and leave master broken for ppc64le and have fixups land? |
I'm not sure if there's anyone who wants to drop it more than I do, but I don't think we should intentionally break master. Plus it would make incremental development / comparing before/after dropping anaconda harder. |
Since we switched to having the BLS be canonical and use the
ostree.bootloader=none
config, we don't need the15_ostree
stuff.
Drop the
ostree-grub2
package and that cruft, finally achievingwhat the intention was from the start in having that be a separate
subpackage that was intended as a short term hack.