On Mai 06 2020, Ludwig Nussel wrote:
One could also see initrd, initramfs or whatever it's called, what format it has or even where it is placed an implementation detail of dracut or whatever tool is used to make the system bootable. From that angle it wouldn't be the kernel package's duty to own the file. So whatever creates the initrd has to also clean it up when no longer required.
The problem is that the initrd generation is triggered by the kernel package, not dracut. Only the kernel knows the exact name of the initrd (which includes the kernel's %version and %release). All other places where initrds are regenerated just iterate over all existing kernel images in /boot (*including* any manually installed kernels). Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org