aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Wagner <[email protected]>2024-06-14 03:08:49 +0200
committerTony Hutter <[email protected]>2024-07-17 14:54:47 -0700
commitc950c5d3695b35ba4f02de167bdd3441862db210 (patch)
tree67aea3f10c9d444a6b7684a365e294f7d7eb1dc9
parent13ccbbb47a1be93f2c44e4fa51f6ae1a5a327f5d (diff)
disable automatic dependency tracking for dkms builds
Previously the dkms build left some unwanted files in `/usr/lib/modules` which could cause package managers to not properly clean up old kernels. Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Martin Wagner <[email protected]> Closes #16221 Closes #16241
-rwxr-xr-xscripts/dkms.mkconf1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/dkms.mkconf b/scripts/dkms.mkconf
index 0bd383420..046ce9edc 100755
--- a/scripts/dkms.mkconf
+++ b/scripts/dkms.mkconf
@@ -26,6 +26,7 @@ PACKAGE_VERSION="${pkgver}"
PACKAGE_CONFIG="${pkgcfg}"
NO_WEAK_MODULES="yes"
PRE_BUILD="configure
+ --disable-dependency-tracking
--prefix=/usr
--with-config=kernel
--with-linux=\$(