Public bug reported:

On Raspberry Pi installations of Ubuntu, some upgraders (particularly
from earlier versions, in particular focal) have small boot partitions
of only 256MB. If dracut is not installed, the initrd in resolute
expands to such a size that two copies of the initrd no longer fit on
this boot partition (largely due to the replacement of busybox with
rust-coreutils). If dracut *is* installed, the exclusion of various
kernel modules brings the initrd back down to a size that fits.

Unfortunately, we cannot know the initrd size in advance (it's
generated), and allowing the upgrade to proceed without installing
dracut results in a broken (unbootable) system because the new boot
assets do not fit. Expanding the partition is impractical as it is the
first on the disk image.

Unfortunately, cryptsetup-initramfs blocks the installation of dracut,
and this package was included in the base image under noble and some
earlier editions. To ensure the upgrade installs dracut (and thus does
not leave upgraders with a broken system), we must force the removal of
cryptsetup-initramfs if it is present. This will only be done on Pi
images (detected by the presence of the ubuntu-{server,desktop}-raspi
meta packages) to avoid forcing the removal on other systems.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2148475

Title:
  Force install of dracut on Raspberry Pi

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2148475/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to