Skip to content

Commit

Permalink
DKMS: Disable weak modules
Browse files Browse the repository at this point in the history
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 openzfs#9891
Closes openzfs#11128
Closes openzfs#11242
Closes openzfs#11335
  • Loading branch information
gregory-lee-bartholomew authored and RageLtMan committed May 31, 2021
1 parent 719a587 commit 23b91de
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 @@ -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
Expand Down

0 comments on commit 23b91de

Please sign in to comment.