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. A potential problem is when a KMP is dropped, since the kernel spec file only obsoletes KMPs of its own flavor. Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org