]> git.proxmox.com Git - mirror_zfs.git/commitdiff
DKMS: Disable weak modules
authorgregory-lee-bartholomew <gregory.lee.bartholomew@gmail.com>
Tue, 15 Dec 2020 17:22:30 +0000 (11:22 -0600)
committerGitHub <noreply@github.com>
Tue, 15 Dec 2020 17:22:30 +0000 (09:22 -0800)
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

index 28d9609f721b424aa43c78315fe8ad0ecdbf41ff..8649b93183a2bc81b0e8cdecd1e85ff198f22af1 100755 (executable)
@@ -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