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 #9891
Closes #11128
Closes #11242
Closes #11335
  • Loading branch information
gregory-lee-bartholomew authored and behlendorf committed Dec 23, 2020
1 parent ee49d9e commit 489633d
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 489633d

Please sign in to comment.