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 <hutter2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Martin Wagner <martin.wagner.dev@gmail.com> Closes #16221 Closes #16241
This commit is contained in:
parent
121a2d3354
commit
c98295eed2
|
@ -26,6 +26,7 @@ PACKAGE_VERSION="${pkgver}"
|
||||||
PACKAGE_CONFIG="${pkgcfg}"
|
PACKAGE_CONFIG="${pkgcfg}"
|
||||||
NO_WEAK_MODULES="yes"
|
NO_WEAK_MODULES="yes"
|
||||||
PRE_BUILD="configure
|
PRE_BUILD="configure
|
||||||
|
--disable-dependency-tracking
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
--with-config=kernel
|
--with-config=kernel
|
||||||
--with-linux=\$(
|
--with-linux=\$(
|
||||||
|
|
Loading…
Reference in New Issue