From 9693ae6c2afe15e51d5fb87302cea2902447f54c Mon Sep 17 00:00:00 2001 From: Martin Wagner Date: Fri, 14 Jun 2024 03:08:49 +0200 Subject: [PATCH] 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 Reviewed-by: Brian Behlendorf Signed-off-by: Martin Wagner Closes #16221 Closes #16241 --- scripts/dkms.mkconf | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/dkms.mkconf b/scripts/dkms.mkconf index 0bd383420435..046ce9edcefe 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=\$(