Skip to content

Commit

Permalink
disable automatic dependency tracking for dkms builds
Browse files Browse the repository at this point in the history
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 openzfs#16221 
Closes openzfs#16241
  • Loading branch information
SoongNoonien authored and tonyhutter committed Jul 17, 2024
1 parent 13ccbbb commit c950c5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/dkms.mkconf
Original file line number Diff line number Diff line change
Expand Up @@ -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=\$(
Expand Down

0 comments on commit c950c5d

Please sign in to comment.