summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-04 22:35:51 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-04 22:35:51 +0000
commit36a257bcfeb81ee489ddb43fcbbe531ce73c11ec (patch)
tree10f4f319bdcebb06e9370d63e9a07bfab21ab43f
parenteb8e7790e7f02059bf4d9e6b07c37f760dc5a69e (diff)
x11-drivers/nvidia-drivers{,-legacy} : unbreak
-rw-r--r--x11-drivers/nvidia-drivers-legacy/files/nvidia.conf20
-rw-r--r--x11-drivers/nvidia-drivers-legacy/nvidia-drivers-legacy-390.138-r1.ebuild (renamed from x11-drivers/nvidia-drivers-legacy/nvidia-drivers-legacy-390.138.ebuild)1
-rw-r--r--x11-drivers/nvidia-drivers/files/nvidia.conf20
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-455.45.01-r1.ebuild (renamed from x11-drivers/nvidia-drivers/nvidia-drivers-455.45.01.ebuild)3
4 files changed, 1 insertions, 43 deletions
diff --git a/x11-drivers/nvidia-drivers-legacy/files/nvidia.conf b/x11-drivers/nvidia-drivers-legacy/files/nvidia.conf
deleted file mode 100644
index 17351377..00000000
--- a/x11-drivers/nvidia-drivers-legacy/files/nvidia.conf
+++ /dev/null
@@ -1,20 +0,0 @@
-# Nvidia drivers support
-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
-#
-# !!! SECURITY WARNING !!!
-# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
-# WHAT YOU ARE DOING.
-# ONLY ADD TRUSTED USERS TO THE VIDEO GROUP, THESE USERS MAY BE ABLE TO CRASH,
-# COMPROMISE, OR IRREPARABLY DAMAGE THE MACHINE.
-options nvidia \
- NVreg_DeviceFileGID=VIDEOGID \
- NVreg_DeviceFileMode=432 \
- NVreg_DeviceFileUID=0 \
- NVreg_ModifyDeviceFiles=1 \
- NVreg_PreserveVideoMemoryAllocations=1 \
- NVreg_TemporaryFilePath=/tmp
diff --git a/x11-drivers/nvidia-drivers-legacy/nvidia-drivers-legacy-390.138.ebuild b/x11-drivers/nvidia-drivers-legacy/nvidia-drivers-legacy-390.138-r1.ebuild
index 029b7f56..c62d8c8b 100644
--- a/x11-drivers/nvidia-drivers-legacy/nvidia-drivers-legacy-390.138.ebuild
+++ b/x11-drivers/nvidia-drivers-legacy/nvidia-drivers-legacy-390.138-r1.ebuild
@@ -146,7 +146,6 @@ src_install() {
fi
insinto /etc/modprobe.d
- doins "${FILESDIR}"/nvidia.conf
doins "${FILESDIR}"/nouveau.conf
# NVIDIA kernel <-> userspace driver config lib
diff --git a/x11-drivers/nvidia-drivers/files/nvidia.conf b/x11-drivers/nvidia-drivers/files/nvidia.conf
deleted file mode 100644
index 17351377..00000000
--- a/x11-drivers/nvidia-drivers/files/nvidia.conf
+++ /dev/null
@@ -1,20 +0,0 @@
-# Nvidia drivers support
-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
-#
-# !!! SECURITY WARNING !!!
-# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
-# WHAT YOU ARE DOING.
-# ONLY ADD TRUSTED USERS TO THE VIDEO GROUP, THESE USERS MAY BE ABLE TO CRASH,
-# COMPROMISE, OR IRREPARABLY DAMAGE THE MACHINE.
-options nvidia \
- NVreg_DeviceFileGID=VIDEOGID \
- NVreg_DeviceFileMode=432 \
- NVreg_DeviceFileUID=0 \
- NVreg_ModifyDeviceFiles=1 \
- NVreg_PreserveVideoMemoryAllocations=1 \
- NVreg_TemporaryFilePath=/tmp
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-455.45.01.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-455.45.01-r1.ebuild
index 3bc089bd..74242854 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-455.45.01.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-455.45.01-r1.ebuild
@@ -118,9 +118,8 @@ donvidia() {
}
src_install() {
- # NVIDIA kernel aliases && blacklist nouveau
+ # blacklist nouveau
insinto /etc/modprobe.d
- doins "${FILESDIR}"/nvidia.conf
doins "${FILESDIR}"/nouveau.conf
# NVIDIA kernel <-> userspace driver config lib