Massage upstream dkms.conf to avoid compile time warning
Thanks to Andreas Beckmann for the hint!
Axel Beckert
9 months ago
1 | 1 |
|
2 | 2 |
* Add patch to support building with kernel 6.4 based on patches by
|
3 | 3 |
Lukasz Kalamlacki. (Closes: #1038203)
|
|
4 |
* Massage upstream dkms.conf to avoid compile time warning. Thanks to
|
|
5 |
Andreas Beckmann for the hint.
|
4 | 6 |
|
5 | 7 |
-- Axel Beckert <abe@debian.org> Wed, 05 Jul 2023 20:11:29 +0200
|
6 | 8 |
|
|
0 |
Description: Avoid warning when building for a different kernel via DKMS
|
|
1 |
Should remove warnings like this:
|
|
2 |
! Warning: uname kernel version (6.1.20) and dkms version of kernel source (6.4.0-0-amd64) doesn't match!
|
|
3 |
! You may try to specify only kernel source tree with --kdir=/lib/modules/6.4.0-0-amd64/build
|
|
4 |
! and configure will pick up version properly.
|
|
5 |
! Assuming you want to build for 6.4.0-0-amd64
|
|
6 |
Origin: https://bugs.debian.org/1038203
|
|
7 |
Author: Andreas Beckmann <anbe@debian.org>
|
|
8 |
|
|
9 |
--- a/dkms.conf
|
|
10 |
+++ b/dkms.conf
|
|
11 |
@@ -6,5 +6,5 @@
|
|
12 |
DEST_MODULE_LOCATION[0]=/kernel/extra
|
|
13 |
STRIP[0]=no
|
|
14 |
MAKE[0]="make ipt_NETFLOW.ko"
|
|
15 |
-PRE_BUILD="./configure --from-dkms-conf=$kernel_source_dir"
|
|
16 |
+PRE_BUILD="./configure --kdir=$kernel_source_dir"
|
|
17 |
AUTOINSTALL=yes
|
8 | 8 |
Use-explicit-fallthrough-macro.patch
|
9 | 9 |
use-get_random_u32_below-instead-of-deprecated-prand.patch
|
10 | 10 |
support-kernel-6.4.patch
|
|
11 |
fix-dkms-warning.patch
|