-
Notifications
You must be signed in to change notification settings - Fork 24
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
Is it safe to run /usr/bin/bootupctl backend generate-update-metadata
in a Containerfile?
#635
Comments
Offhand, I think so. |
I did that for a while in travier/fedora-kinoite@7e3df8d and it worked fine. |
Running this in Containerfile makes Is this normal behavior? Credits to @bsherman for finding this out |
I noticed this bootupctl command was causing contents of /usr/lib/ostree-boot to be removed. Disabling this for now. See: coreos/bootupd#635 (comment)
Yes, the content is moved to What's your issue with |
I noticed the change when trying to use
My naive guess is, if using such an image with bootupd, the service must be started to update grub, rather than using |
You don't need to use |
I see what's happening now. Apologies for the noise on this. In the past I'd seen this discussion ( https://discussion.fedoraproject.org/t/why-does-grub2-present-twice-double-menuentry-for-each-ostree-entry/73990/8 ) and Universal Blue forums were we'd documented use of I had NOT seen your recent updates to that discussion, however. Recent questions about the duplicate entries and noticing it reoccurring on my own system caused me to ask some questions. Since it's clearly expected behavior, I'm content. Thank you for the response! |
Revert: 7778989 What I'd observed is intentional. Duplicate grub boot entries do not bother me since I know it's not a bug. See: coreos/bootupd#635 (comment)
Yes, with an updated GRUB (with BLS support) and dynamic GRUB configs (pre-bootupd) then you'll get duplicated GRUB entries. This will go away once we transition people to static GRUB configs by default, hopefully for F42 but we don't have this ready yet. |
To fix issues with Fedora Atomic desktops, I'm considering backporting the bootupd inclusion to Fedora 39:
While thinking about that, I wondered if it would be able to create layered images with bootupd included in a layer.
Is it safe to run
/usr/bin/bootupctl backend generate-update-metadata
from a container layer?I'll do some testing.
The text was updated successfully, but these errors were encountered: