-
Notifications
You must be signed in to change notification settings - Fork 40
Rework grub2 default static config #841
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
Conversation
|
Hi @champtar. Thanks for your PR. I'm waiting for a coreos member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
25c7a37 to
8710963
Compare
faddad9 to
74ff55c
Compare
|
Can someone with CI / FCOS knowledge chime in ? I think 10_blscfg and other configs.d are not copied in the |
|
@cgwalters any opinions on this PR ? |
|
Anyone ? |
|
@HuijingHei maybe ? |
cgwalters
left a comment
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.
So sorry for the delay on review here! I really value your contributions overall. You've chosen to work on some thorny problems, which is good but for this particular code we're highly subject to regressions.
Overall though, I see no issues in this so far, and probably what we need to do is just try to land it and maybe put it in Rawhide and soak for a bit.
Actually after landing here in git main it will appear in the bootc base-images-dev and we have CI coverage of that.
|
/ok-to-test |
|
That all said it does look quite likely related that the upgrade test failed here https://jenkins-coreos-ci.apps.ocp.fedoraproject.org/job/bootupd/job/PR-841/6/artifact/tmp/console.txt |
See my previous comment #841 (comment), I bet the failing test only copy the new binary and not the new |
74ff55c to
e422843
Compare
|
My ci fix is ignored, should I move it to another PR that we merge first, then rebase on top ? |
ci: also install grub config and systemd unit looks correct to me and would indeed make sense to aim to land as a distinct PR. |
|
#879 need to be merged first then I can rebase on top |
e422843 to
ca96bf5
Compare
|
LGTM, and I tried using bootc, and check the new created grub.cfg includes: The steps are: Use bootc install to install grub.cfg: |
|
Need to fix CI first. |
In |
|
Ok I'm actually breaking ignition because 40_coreos-ignition.cfg is now after |
|
Reordered the files a bit to see if it fixes, if yes I'll need to change ignition.cfg to 40_ignition.cfg |
|
Jenkins seems to be broken right now |
In classic install timeout setting is at the end of 00_header, being at the end of grub-static-pre.cfg is equivalent. This allow to overide the timeout setting using configs.d. While at it remove the feature_timeout_style check as the feature was added 12 years ago in rhboot/grub2@8f236c1
This allows to add menu entries after the BLS entries, for exemple 'UEFI Firmware Settings'.
This will make updating config easier as there will be no need to cleanup dropins files in /boot/grub2/.
23a3c83 to
07b984f
Compare
07b984f to
741e9a5
Compare
|
Waiting for fedora-iot/greenboot#214, |
|
Use bootc to build image, and verify with the patch that grub password works. Let me know if other tests are needed.
|
@HuijingHei if you still have the setup, I guess you can confirm you can see the |
|
Still LGTM, now is a decent time to land this in git main; we do have some bootc-side integration tests that are covering the output of https://gitlab.com/fedora/bootc/base-images-dev |
Yes, if boot with uefi, can see |
|
If there is a RPM scratch build available somewhere I can run some tests too. |
|
Greenboot change has been merged, waiting for a release: fedora-iot/greenboot#214
@dustymabe can't find any rpm artifacts in the different checks |
Oh, seems the copr build failed for one month, will see if can make it work again. |
Build locally and put it to https://hhei.fedorapeople.org/bootupd-0.2.27.50.g741e9a5-1.fc41.x86_64.rpm |
|
Do local build FCOS with the scratch rpm, and run I think it is OK to merge this, WDYT @dustymabe ? |
Thanks for fixing that!
And thanks for testing!
Agreed. I'd note again that we currently can have a quite long delay between merges to git main and shipping, and this is the type of change that I think will get some naturally more extensive testing post-merge for those CI systems that track our (COPR) git main builds (I also happen to use ostree, bootc and bootupd among other things from the COPR for my main workstation). So let's see if there's any fallout in the next week or two. |
|
Thanks for merging ! |
Did a local build and test and this worked and passed all tests. Thanks @HuijingHei |
|
@champtar In your opinion should we drop this hack from our package manifests when this lands in a release? cc @cgwalters EDIT: updated link to be correct. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
|
When using bootupd, We can keep (or copy paste in bootupd)
We can continue to remove
|
Rework grub2 default static config
GRUB2_PASSWORDinuser.cfg(partially fix https://issues.redhat.com/browse/RHEL-78299)