aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory-lee-bartholomew <[email protected]>2020-12-15 11:22:30 -0600
committerGitHub <[email protected]>2020-12-15 09:22:30 -0800
commite2d952cda06a649441eba01730753e1a24bf2c83 (patch)
treeae8ded985e8cfb5ac1e6ecc185eac9615cfb9016
parentd8a09b3a041c8983ce51106ae7f92a11142f8470 (diff)
DKMS: Disable weak modules
Fedora does not guarantee a stable kABI, so weak modules should be dis- abled. See the dkms man page for a more detailed explanation of the weak module feature. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Gregory Bartholomew <[email protected]> Closes #9891 Closes #11128 Closes #11242 Closes #11335
-rwxr-xr-xscripts/dkms.mkconf1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/dkms.mkconf b/scripts/dkms.mkconf
index 28d9609f7..8649b9318 100755
--- a/scripts/dkms.mkconf
+++ b/scripts/dkms.mkconf
@@ -22,6 +22,7 @@ cat >${filename} <<EOF
PACKAGE_NAME="${pkgname}"
PACKAGE_VERSION="${pkgver}"
PACKAGE_CONFIG="${pkgcfg}"
+NO_WEAK_MODULES="yes"
PRE_BUILD="configure
--prefix=/usr
--with-config=kernel