[Bug 2100618] Re: dracut install removes flash-kernel
Benjamin Drung
2100618 at bugs.launchpad.net
Mon Mar 3 13:53:05 UTC 2025
Since flash-kernel depends on the existence of the /usr/sbin/update-
initramfs binary, updating flash-kernel to depend on (initramfs-tools |
dracut) is a solution.
Dracut "provides" the update-initramfs "interface", but it does not
"provide" the initramfs-tools "interface". Such initramfs-tools
"interface" would need to provide support for the hooks and script as
defined in initramfs-tools. Dracut supports custom modules but they
differ to initramfs-tools in their interface.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dracut in Ubuntu.
Matching subscriptions: dracut
https://bugs.launchpad.net/bugs/2100618
Title:
dracut install removes flash-kernel
Status in dracut package in Ubuntu:
New
Bug description:
Attempting to switch a plucky install on raspi to dracut attempts to
remove flash-kernel (which is required to copy the generated initrd
and other artifacts to the boot partition). This is because flash-
kernel depends on initramfs-tools (which is going to be removed):
$ sudo apt install dracut
The following packages were automatically installed and are no longer required:
devio libiniparser4 libraspberrypi0 libubootenv-tool libubootenv0.1 mtd-utils u-boot-tools
Use 'sudo apt autoremove' to remove them.
Installing:
dracut
Installing dependencies:
dracut-core
Suggested packages:
dracut-network dmraid
REMOVING:
cloud-initramfs-copymods cloud-initramfs-dyn-netconf flash-kernel initramfs-tools overlayroot ubuntu-server ubuntu-server-raspi
Given dracut now contains drop-in replacements for the various binaries provided by initramfs-tools, could dracut simply "Provide: initramfs-tools" (as well as linux-initramfs-tool as it currently does)?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2100618/+subscriptions
More information about the foundations-bugs
mailing list