Comment # 4 on bug 1195291 from
(In reply to Michal Suchanek from comment #2)
> But we don't need to reinstall bootloader on KMP removal, do we?

No, and we don't. That only happens in the main kernel scriptlets.

> LILO needed reinstall because it referenced specific blocks in the
> filesystem rather than the filename.
> 
> Do we have some scheme that copies the initrd (such as to the EFI partition)
> that would require reinstall of bootloader when initrd changes?

No idea. It might be a leftover from ancient past.


(In reply to Michal Suchanek from comment #3)
> we probably don't track if the ramdisk was built or rebuilt but that should
> be feasible

Not sure where you're heading here. When we remove kernel-default-extra, we
must remove the initrd, *unless* we already know we'll remove kernel-default,
too.
I know it's true in >90% of cases, but that doesn't solve the problem that we
don't know for sure.

posttrans is really the only way. in posttrans we'll see that the kernel is
gone, and we can't build an initrd for it.

I have patches here that do this but they haven't had enought testing, and we
won't merge them before 15.4 release. Sorry about that.


You are receiving this mail because: