Skip to content

xpad: force version on kernel module#3976

Merged
joolswills merged 1 commit intoRetroPie:masterfrom
cmitu:xpad-dkms-2
Oct 2, 2024
Merged

xpad: force version on kernel module#3976
joolswills merged 1 commit intoRetroPie:masterfrom
cmitu:xpad-dkms-2

Conversation

@cmitu
Copy link
Contributor

@cmitu cmitu commented Oct 2, 2024

DKMS in Bookworm has a bug[1] where the autoinstall function on kernel updates fails due to a miscalculated version comparison, thinking always that the kernel version is newer than the custom version and skipping the installation. The message shown during upgrades is:

xpad.ko.xz:
Running module version sanity check.
Module version  for xpad.ko.xz exactly matches what is already found in kernel
DKMS will not replace this module.
You may override by specifying --force.

Added a module version (copied from the dkms.conf's package version) to have 'dkms' always install the out-of-tree version.

[1] dkms-project/dkms#296, fixed by dkms-project/dkms#297

DKMS in Bookworm has a bug[1] where the autoinstall function on kernel updates fails due to a miscalculated version comparison, thinking always that the kernel version is newer than the custom version and skipping the installation. The message shown during upgrades is:

    xpad.ko.xz:
    Running module version sanity check.
    Module version  for xpad.ko.xz exactly matches what is already found in kernel
    DKMS will not replace this module.
    You may override by specifying --force.

Added a module version (copied from the `dkms.conf`'s package version) to have 'dkms' always install the out-of-tree version.

[1] dkms-project/dkms#296, fixed by dkms-project/dkms#297
@joolswills joolswills merged commit df87b95 into RetroPie:master Oct 2, 2024
@joolswills
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants