Does Fedora use kernel-install when rpm/dnf updates the kernel?

Hi,

I followed fedora’s vmware guide on how to automate the compilation of vmware modules for each new kernel update by installing a plugin into /etc/kernel/install.d/. I had to modify it to additionally sign the kernel modules according to this article, but that’s besides the point.

Just today I updated the kernel using rpm/dnf, but it appears that the script did not run. Does fedora use kernel-install? I ran the script manually and it succeeded without issues, but maybe it failed for some other reason?

Thanks in advance!

kernel-install is run when (re)installing or upgrading kernel-core.

$  dnf history info last | grep kernel
    Install  kernel-6.7.5-200.fc39.x86_64                                @updates
    Install  kernel-core-6.7.5-200.fc39.x86_64                           @updates
    Install  kernel-devel-6.7.5-200.fc39.x86_64                          @updates
    Install  kernel-modules-6.7.5-200.fc39.x86_64                        @updates
    Install  kernel-modules-core-6.7.5-200.fc39.x86_64                   @updates
    Install  kernel-modules-extra-6.7.5-200.fc39.x86_64                  @updates
    Upgraded kernel-6.6.14-200.fc39.x86_64                               @@System
    Upgraded kernel-core-6.6.14-200.fc39.x86_64                          @@System
    Upgraded kernel-devel-6.6.14-200.fc39.x86_64                         @@System
    Upgraded kernel-modules-6.6.14-200.fc39.x86_64                       @@System
    Upgraded kernel-modules-core-6.6.14-200.fc39.x86_64                  @@System
    Upgraded kernel-modules-extra-6.6.14-200.fc39.x86_64                 @@System

Hmm I guess that mean kernel-install did run? But maybe just didn’t run my plugin? Is there a way to debug what happened w/o logging from the plugin itself?