FS#51635 - [dkms] Kernel hooks executed when upgrading only docs
Attached to Project:
Arch Linux
Opened by Tomas Mudrunka (harvie) - Wednesday, 02 November 2016, 02:10 GMT
Last edited by Sébastien Luttringer (seblu) - Sunday, 01 January 2017, 05:24 GMT
Opened by Tomas Mudrunka (harvie) - Wednesday, 02 November 2016, 02:10 GMT
Last edited by Sébastien Luttringer (seblu) - Sunday, 01 January 2017, 05:24 GMT
|
Details
Description: i have linux-zen and linux-zen-headers in
IgnorePkg. i've done pacman -Syu and it upgraded
linux-zen-docs. But it still resulted in kernel hooks being
run. This (eg.) uninstalls dkms modules for currently
installed kernel and fails to build them for kernel that is
not yet upgraded. like this:
pre: (1/1) Remove DKMS modules ==> dkms remove -m tp_smapi-dkms -v 0.41 -k 4.8.4-1-zen ==> dkms remove -m vboxhost -v 5.1.8_OSE -k 4.8.4-1-zen post: (1/4) Install DKMS modules ==> No kernel 4.8.6-1-zen modules. You must install them to use DKMS! Such hooks should be run when kernel (headers) are upgraded, not when docs are upgraded! |
I mean it's like manpages and stuff... no actual code. it should not have any actual effect on the system.
Take a look at the hook, it's doesn't look at packages, it looks at the filesystem.
So can you please exclude this from the hooks?
/usr/lib/modules/*/build/Documentation/
FS#50370. New version in testing should fix the issue. Please let me know if everything is ok.