commit:     b96134374451d3def918ebb8d383615b73712b56
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Sun Mar 21 15:51:55 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Mar 21 15:51:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9613437

x11-drivers/nvidia-drivers: change .conf tmp path to /var/tmp

Given space requirement and /tmp typically being tmpfs, /var/tmp
makes more sense. >430 ebuilds currently had to warn users to
change the path (no need for revbumps because of this).

Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 x11-drivers/nvidia-drivers/files/nvidia-430.conf | 6 +++---
 x11-drivers/nvidia-drivers/files/nvidia-460.conf | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/x11-drivers/nvidia-drivers/files/nvidia-430.conf 
b/x11-drivers/nvidia-drivers/files/nvidia-430.conf
index 173513777aa..edd957b58c4 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-430.conf
+++ b/x11-drivers/nvidia-drivers/files/nvidia-430.conf
@@ -3,8 +3,8 @@ alias char-major-195 nvidia
 alias /dev/nvidiactl char-major-195
 
 # To tweak the driver the following options can be used, note that
-# you should be careful, as it could cause instability!! For more 
-# options see /usr/share/doc/PACKAGE/README 
+# you should be careful, as it could cause instability!! For more
+# options see README.txt in /usr/share/doc/PACKAGE
 #
 # !!! SECURITY WARNING !!!
 # DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
@@ -17,4 +17,4 @@ options nvidia \
        NVreg_DeviceFileUID=0 \
        NVreg_ModifyDeviceFiles=1 \
        NVreg_PreserveVideoMemoryAllocations=1 \
-       NVreg_TemporaryFilePath=/tmp
+       NVreg_TemporaryFilePath=/var/tmp

diff --git a/x11-drivers/nvidia-drivers/files/nvidia-460.conf 
b/x11-drivers/nvidia-drivers/files/nvidia-460.conf
index faf0243a823..03967faa577 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia-460.conf
+++ b/x11-drivers/nvidia-drivers/files/nvidia-460.conf
@@ -4,7 +4,7 @@ alias /dev/nvidiactl char-major-195
 
 # To tweak the driver the following options can be used, note that
 # you should be careful, as it could cause instability!! For more
-# options see /usr/share/doc/PACKAGE/README
+# options see README.txt in /usr/share/doc/PACKAGE
 #
 # !!! SECURITY WARNING !!!
 # DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
@@ -17,4 +17,4 @@ options nvidia \
        NVreg_DeviceFileUID=0 \
        NVreg_ModifyDeviceFiles=1 \
        NVreg_PreserveVideoMemoryAllocations=0 \
-       NVreg_TemporaryFilePath=/tmp
+       NVreg_TemporaryFilePath=/var/tmp

Reply via email to