Skip to content

Commit c98295e

Browse files
authored
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
1 parent 121a2d3 commit c98295e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/dkms.mkconf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ PACKAGE_VERSION="${pkgver}"
2626
PACKAGE_CONFIG="${pkgcfg}"
2727
NO_WEAK_MODULES="yes"
2828
PRE_BUILD="configure
29+
--disable-dependency-tracking
2930
--prefix=/usr
3031
--with-config=kernel
3132
--with-linux=\$(

0 commit comments

Comments
 (0)