With the introduction of nvidia-uvm module, unloading nvidia module will fail unless...
authorDebian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>
Tue, 24 Jan 2017 14:20:27 +0000 (14:20 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 24 Jan 2017 14:20:27 +0000 (14:20 +0000)
commit647ced8c8d6d796f30c9354ad040116cf208377a
tree33ddbdbb9a8eaf25b83926aacfc35de441bd3628
parentdf3c2bf56f2c81f8893ecbe4f0921fcd28d7889d
With the introduction of nvidia-uvm module, unloading nvidia module will fail unless nvidia-uvm is unloaded.  GH-565 suggests using "remove" or "softdep" modprobe.d clauses to teach modprobe to handle that for us; "rmmod" does not have that functionality, so switch to "modprobe -r".

Origin: upstream, https://github.com/Bumblebee-Project/Bumblebee/commit/1ada79fe5916961fc4e4917f8c63bb184908d986
Bug: https://github.com/Bumblebee-Project/Bumblebee/issues/565
Bug-Debian: 793389

Gbp-Pq: Name modprobe-r-instead-of-rmmod.patch
src/module.c