On Fri, 04 Sep 2015 10:41:42 +0200, Michal Marek wrote:
On 2015-09-04 10:20, Takashi Iwai wrote:
I think one thing was missing in the previous discussion: the migration of KMP. kernel-module-subpackage already has:
%if %1 == "default" Obsoletes: %{-n*}-trace
so a similar hack should be added there.
Good point.
(BTW, having only obsoletes tag is enough? Will zypper pull default-kmp when updating from desktop automatically even without provides tag?)
Hard to tell, but the Obsoletes: is probably the lesser evil. The rationale is that KMPs are often selected by either pci aliases (drivers) or by a userspace package (xen, virtualbox). So in most cases the new -default KMP is installed either way and we just need to silently remove the old -desktop KMP.
Well, if it's something like a generic framework (like BFQ iosched module), there is no tied device or alias. It's a corner case, though. But I'm not sure which is safer (less breaking) in the end.
A potential problem is when a KMP is dropped, since the kernel spec file only obsoletes KMPs of its own flavor.
Right, this needs to be also covered in kernel-binary.rpm.in. How messy... Now thinking of the KMP issues again: by obsoleting, the old desktop-kmp gets removed. Then this will break the previous kernel boot? Or, KMP isn't covered in anyway for multi-boot? Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org