Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dkms.conf should allow setting a minimal supported kernel version #300

Closed
anbe42 opened this issue Feb 1, 2023 · 1 comment
Closed

dkms.conf should allow setting a minimal supported kernel version #300

anbe42 opened this issue Feb 1, 2023 · 1 comment

Comments

@anbe42
Copy link
Contributor

anbe42 commented Feb 1, 2023

dkms.conf misses a variable to easily set a minimal supported kernel version. On older kernels this should simply skip the build like if any of the BUILD_EXCLUSIVE_* settings matches.

(It is possible to set such a minimal version via BUILD_EXCLUSIVE_KERNEL with a not-so-nice regular expression.)

@anbe42
Copy link
Contributor Author

anbe42 commented Feb 4, 2023

What about using the variable names BUILD_EXCLUSIVE_KERNEL_MIN and BUILD_EXCLUSIVE_KERNEL_MAX for that?

${´BUILD_EXCLUSIVE_KERNEL_MIN} <= ${KVER} && ${KVER} <= ${BUILD_EXCLUSIVE_KERNEL_MAX}.999

anbe42 added a commit to anbe42/dkms that referenced this issue Mar 19, 2023
skip building the module if kernelver does not satisfy
BUILD_EXCLUSIVE_KERNEL_MIN <= kernelver <= BUILD_EXCLUSIVE_KERNEL_MAX

Closes dell#300
anbe42 added a commit to anbe42/dkms that referenced this issue Mar 20, 2023
skip building the module if kernelver does not satisfy
BUILD_EXCLUSIVE_KERNEL_MIN <= kernelver <= BUILD_EXCLUSIVE_KERNEL_MAX

Closes dell#300
anbe42 added a commit to anbe42/dkms that referenced this issue Mar 23, 2023
skip building the module if kernelver does not satisfy
BUILD_EXCLUSIVE_KERNEL_MIN <= kernelver <= BUILD_EXCLUSIVE_KERNEL_MAX

Closes dell#300
anbe42 added a commit to anbe42/dkms that referenced this issue Apr 3, 2023
skip building the module if kernelver does not satisfy
BUILD_EXCLUSIVE_KERNEL_MIN <= kernelver <= BUILD_EXCLUSIVE_KERNEL_MAX

Closes dell#300
anbe42 added a commit to anbe42/dkms that referenced this issue Apr 6, 2023
skip building the module if kernelver does not satisfy
BUILD_EXCLUSIVE_KERNEL_MIN <= kernelver <= BUILD_EXCLUSIVE_KERNEL_MAX

Closes dell#300
anbe42 added a commit to anbe42/dkms that referenced this issue Apr 6, 2023
skip building the module if kernelver does not satisfy
BUILD_EXCLUSIVE_KERNEL_MIN <= kernelver <= BUILD_EXCLUSIVE_KERNEL_MAX

Closes dell#300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants