On 19.08.2016 14:18, Olaf Hering wrote:
Am 19.08.2016 um 12:45 schrieb Michal Marek:
- after kernel-default This is intended, so that there is an initrd right after the kernel has been updated.
Once zypper dup starts to install the first package the system is in an inconsistant state, and it remains in that inconsistant state until the very last %posttrans is finished.
Even though I agree in principle with you on this issue, I disagree here, because...
There is little point in running mkinitrd more than once during the whole transaction.
If you do not regenerate the initrd after installing the kernel and the install aborts for whatever reason / the machine crashes, then you are basically ensuring that the machine will not boot afterwards. The "inconsistency" of the system before posttrans also adds a slight chance that the initrd generated after kernel install is non-functional, but that chance is much much smaller than the 100% chance of not having an initrd at all. No, I'm not going to use multiversion for the kernels. -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org