Skip to content
Snippets Groups Projects
Commit bb16e21c authored by Helmut Stult's avatar Helmut Stult
Browse files

[pkg-upd] 390.141-18

parent ff3ba22f
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ _nver=390 ...@@ -21,7 +21,7 @@ _nver=390
# edit here for new version # edit here for new version
_sver=141 _sver=141
# edit here for new build # edit here for new build
pkgrel=17 pkgrel=18
pkgname=$_linuxprefix-nvidia-${_nver}xx pkgname=$_linuxprefix-nvidia-${_nver}xx
_pkgname=nvidia _pkgname=nvidia
_pkgver="${_nver}.${_sver}" _pkgver="${_nver}.${_sver}"
...@@ -39,10 +39,8 @@ license=('custom') ...@@ -39,10 +39,8 @@ license=('custom')
install=nvidia.install install=nvidia.install
options=(!strip) options=(!strip)
durl="http://us.download.nvidia.com/XFree86/Linux-x86" durl="http://us.download.nvidia.com/XFree86/Linux-x86"
source=("${durl}_64/${_pkgver}/NVIDIA-Linux-x86_64-${_pkgver}-no-compat32.run" source=("${durl}_64/${_pkgver}/NVIDIA-Linux-x86_64-${_pkgver}-no-compat32.run")
"disable-module-nvidia-uvm.patch") sha256sums=('d7d763aa52574b554dd3d8cbb93a6a63572a9c2bfd3bc3873ec5338c067f70ba')
sha256sums=('d7d763aa52574b554dd3d8cbb93a6a63572a9c2bfd3bc3873ec5338c067f70ba'
'f176246460588adaccf0c19b23d46b8c3a3ee4a05a61eed778ceddb938b498a3')
_pkg="NVIDIA-Linux-x86_64-${_pkgver}-no-compat32" _pkg="NVIDIA-Linux-x86_64-${_pkgver}-no-compat32"
...@@ -54,10 +52,6 @@ prepare() { ...@@ -54,10 +52,6 @@ prepare() {
sh "${_pkg}.run" --extract-only sh "${_pkg}.run" --extract-only
cd "${_pkg}" cd "${_pkg}"
# patches here # patches here
# Fix compile problem with 5.10
# FATAL: modpost: GPL-incompatible module nvidia-uvm.ko uses GPL-only symbol 'radix_tree_preloads'
#msg2 "PATCH: disable-module-nvidia-uvm"
#patch -p1 -i "$srcdir"/disable-module-nvidia-uvm.patch
} }
build() { build() {
......
Author: Andreas Beckmann <anbe@debian.org>
Description: HACK! disable building the nvidia-uvm module
FTBFS in Linux 5.8 with
FATAL: modpost: GPL-incompatible module nvidia-uvm.ko uses GPL-only symbol 'radix_tree_preloads'
415.18 fixed this by switching the module license to "Dual MIT/GPL"
Bug-Debian: https://bugs.debian.org/969085
Forwarded: not-needed
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -19,6 +19,8 @@ ifneq ($(KERNELRELEASE),)
include $(src)/Kbuild
else
+ NV_EXCLUDE_KERNEL_MODULES += nvidia-uvm
+
# Determine the location of the Linux kernel source tree, and of the
# kernel's output tree. Use this to invoke Kbuild, and pass the paths
# to the source and output trees to NVIDIA's Kbuild file via
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment