On Mon, Jun 7, 2021 at 1:51 PM Andrei Borzenkov
On 07.06.2021 18:29, Adrian Glaubitz wrote:
On Jun 7, 2021, at 5:17 PM, Martin Wilck
wrote: OTOH, one KMP will work not just for one kernel, but for all KABI- compatible kernels.
DKMS modules are built per kernel ABI version, not for every kernel version.
Could you elaborate? dkms will recognize if module are present in current kernel as weak update and skip build in this case. But as far as I can tell dkms checks for /sbin/weak-modules or /usr/lib/module-init-tools/weak-modules neither of which is present in Leap (looking at Leap 15.3 and dkms from openSUSE:Backports:SLE-15-SP3). dkms will use $WEAK_MODULES_BIN but it does not look like it is set either. I may have missed something?
There has never been any effort to support kABI tracking for DKMS. The kmod package doesn't have the weak-modules script like RHEL/CentOS does: https://git.centos.org/rpms/kmod/blob/792fc7f7d9518483d69b82757c9cab710c845e... -- 真実はいつも一つ!/ Always, there's only one truth!