-
Notifications
You must be signed in to change notification settings - Fork 198
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
pkglayering: support packages installing into /boot #853
Comments
Perhaps one thing we could do is have an "update /boot on shutdown" model. We'd check whether or not the files in A tricky thing we should figure out then is rollback. Do we want to revert (Actually another thing this breaks in general is having multiple OSes installed via ostree...but that's not a new problem and it's fringe) |
If anyone is hitting this:
You can use this COPR as a workaround: https://copr.fedorainfracloud.org/coprs/walters/syslinux-stub/ (It moves extlinux data to |
My offhand take is that for
|
At one point `rpm-ostree install libvirt` dragged in libguestfs which in turn brought in `syslinux-extlinux-nonlinux` which has files in `/boot/extlinux`, which we rejected. (That dependency chain appears to have been fixed currently) For the general case, this is just a partial fix in that we haven't nailed down the semantics of how updates for `/boot` work. But in this particular case, we'll just break libguestfs' `extlinux` verb, which I'm OK with. Another case is `fwupdate-efi` - we require manual intervention to copy the data into `/boot` after installing the package. This is also preparation for [unified core](coreos#729) in that we now ensure imported kernels don't end up in `/boot` unless explicitly configured. Closes: coreos#853
At one point `rpm-ostree install libvirt` dragged in libguestfs which in turn brought in `syslinux-extlinux-nonlinux` which has files in `/boot/extlinux`, which we rejected. (That dependency chain appears to have been fixed currently) For the general case, this is just a partial fix in that we haven't nailed down the semantics of how updates for `/boot` work. But in this particular case, we'll just break libguestfs' `extlinux` verb, which I'm OK with. Another case is `fwupdate-efi` - we require manual intervention to copy the data into `/boot` after installing the package. This is also preparation for [unified core](#729) in that we now ensure imported kernels don't end up in `/boot` unless explicitly configured. Closes: #853 Closes: #969 Approved by: jlebon
This is a bit similar to #233
but specific to
/boot
.Known affected packages:
I was trying to rebase to rawhide, but something in the virt stack drags in
extlinux
, which installs files into/boot
.The general problem with
/boot
is that we don't have a mechanism to make updates there transactional. Right now the ostree position on this is to copy content in the installer, and don't update it by default. We probably should have a mechanism to update it...maybe an explicitly non-transactional thing?The "extlinux for libguestfs" case is highly special because it's not for the host; libguestfs makes mini VM images using the host content.
But
fwupdate-efi
is intended to add a new host boot target (AIUI).The text was updated successfully, but these errors were encountered: