New comment by Ypnose on void-packages repository https://github.com/void-linux/void-packages/issues/30401#issuecomment-825383326 Comment: Thanks for your help. Actually, if `dkms` do not rely on meta-package `linux-headers` which will pull latest `linux5.xx-headers`, but instead rely on the headers for the latest kernel installed, all problems could be solved. Unfortunately, I do not know how it can be done.