[arch-commits] Commit in nvidia-340xx-utils/trunk (nvidia-340xx-utils.install)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Feb 28 13:08:40 UTC 2015
Date: Saturday, February 28, 2015 @ 14:08:40
Author: svenstaro
Revision: 232104
Add note about nvidia-modprobe
Modified:
nvidia-340xx-utils/trunk/nvidia-340xx-utils.install
----------------------------+
nvidia-340xx-utils.install | 7 +++++++
1 file changed, 7 insertions(+)
Modified: nvidia-340xx-utils.install
===================================================================
--- nvidia-340xx-utils.install 2015-02-28 13:08:02 UTC (rev 232103)
+++ nvidia-340xx-utils.install 2015-02-28 13:08:40 UTC (rev 232104)
@@ -1,3 +1,8 @@
+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 +10,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