Patched kernel-macros package to override multiversion trouble

Edit Package kernel-macros

KMPs that have changed and are rebuilt against the same kernel will not be handled well on SUSE (before SLE-15 which changed the behavior).
The trouble lies in KMPs being handled as multiversion packages which makes them being installed in multiple versions in parallel. This helps to keep them around to still be able to boot an old kernel when you install a new kernel with changed kABI thus pulling in a new module packages. The problem is that there will be a file conflict, so zypper up fails (unless you use --replacefiles).
See bsz#1109137 for a discussion.
The multiversion comes from /usr/lib/rpm/kernel-module-subpackage macros in the kernel-macros package.
We put some conditionals around it in our version, so it can be controlled.
It's off-by-default in Leap and SLE, on-by-default on TW.

Source Files
Filename Size Changed
_service 0000000357 357 Bytes
cond-multiversion.diff 0000000869 869 Bytes
kernel-macros.spec 0000001727 1.69 KB
Comments 0
No comments available
openSUSE Build Service is sponsored by