summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-10-12 15:12:59 +0000
committerJeroen Roovers <jer@gentoo.org>2013-10-12 15:12:59 +0000
commit0b9aa2313b5e6236634841d1f24ab5b4e157da05 (patch)
treeae0e0079553f336bc5355f59af6b999780250ac8 /eclass/nvidia-driver.eclass
parentRemove vulnerable versions, bug #478284. (diff)
downloadhistorical-0b9aa2313b5e6236634841d1f24ab5b4e157da05.tar.gz
historical-0b9aa2313b5e6236634841d1f24ab5b4e157da05.tar.bz2
historical-0b9aa2313b5e6236634841d1f24ab5b4e157da05.zip
Use readme.gentoo.eclass (bug #457594).
Diffstat (limited to 'eclass/nvidia-driver.eclass')
-rw-r--r--eclass/nvidia-driver.eclass22
1 files changed, 20 insertions, 2 deletions
diff --git a/eclass/nvidia-driver.eclass b/eclass/nvidia-driver.eclass
index 6d1d23c9a7f1..ec6d1c425ba7 100644
--- a/eclass/nvidia-driver.eclass
+++ b/eclass/nvidia-driver.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/nvidia-driver.eclass,v 1.22 2013/05/16 14:25:13 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/nvidia-driver.eclass,v 1.23 2013/10/12 15:12:59 jer Exp $
# @ECLASS: nvidia-driver.eclass
# @MAINTAINER:
@@ -12,10 +12,28 @@
# Provide useful messages for nvidia-drivers based on currently installed Nvidia
# card. It inherits versionator.
-inherit versionator
+inherit readme.gentoo versionator
DEPEND="sys-apps/pciutils"
+# Variables for readme.gentoo.eclass:
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="You must be in the video group to use the NVIDIA device
+For more info, read the docs at
+http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3_sect6
+
+This ebuild installs a kernel module and X driver. Both must
+match explicitly in their version. This means, if you restart
+X, you must modprobe -r nvidia before starting it back up
+
+To use the NVIDIA GLX, run \"eselect opengl set nvidia\"
+
+To use the NVIDIA CUDA/OpenCL, run \"eselect opencl set nvidia\"
+
+NVIDIA has requested that any bug reports submitted have the
+output of nvidia-bug-report.sh included.
+"
+
# the data below is derived from
# http://us.download.nvidia.com/XFree86/Linux-x86_64/319.12/README/supportedchips.html