From e2d952cda06a649441eba01730753e1a24bf2c83 Mon Sep 17 00:00:00 2001 From: gregory-lee-bartholomew <gregory.lee.bartholomew@gmail.com> Date: Tue, 15 Dec 2020 11:22:30 -0600 Subject: [PATCH] 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 <behlendorf1@llnl.gov> Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com> Closes #9891 Closes #11128 Closes #11242 Closes #11335 --- scripts/dkms.mkconf | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/dkms.mkconf b/scripts/dkms.mkconf index 28d9609f72..8649b93183 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