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 <behlendorf1@llnl.gov>
Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
Closes #9891
Closes #11128
Closes #11242
Closes #11335
  • Loading branch information
gregory-lee-bartholomew authored Dec 15, 2020
1 parent d8a09b3 commit e2d952c
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 e2d952c

Please sign in to comment.