[arch-commits] Commit in nvidia-utils/trunk (nvidia-utils.install)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Feb 28 13:08:04 UTC 2015


    Date: Saturday, February 28, 2015 @ 14:08:02
  Author: svenstaro
Revision: 232103

Add note about nvidia-modprobe

Modified:
  nvidia-utils/trunk/nvidia-utils.install

----------------------+
 nvidia-utils.install |    6 ++++++
 1 file changed, 6 insertions(+)

Modified: nvidia-utils.install
===================================================================
--- nvidia-utils.install	2015-02-28 12:48:11 UTC (rev 232102)
+++ nvidia-utils.install	2015-02-28 13:08:02 UTC (rev 232103)
@@ -1,3 +1,7 @@
+post_upgrade() {
+  echo "If you run into trouble with CUDA not being available, run nvidia-modprobe first."
+}
+
 post_install() {
   if ! getent group nvidia-persistenced >/dev/null; then
     groupadd -g 143 nvidia-persistenced
@@ -5,6 +9,8 @@
   if ! getent passwd nvidia-persistenced >/dev/null; then
     useradd -c 'NVIDIA Persistence Daemon' -u 143 -g nvidia-persistenced -d '/' -s /sbin/nologin nvidia-persistenced
   fi
+
+  post_upgrade
 }
 
 post_remove() {



More information about the arch-commits mailing list