1 |
commit: 77e7800a9e300dc178ad9d280aebe8267c80c967 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 23 05:31:12 2015 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 23 05:45:23 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77e7800a |
7 |
|
8 |
Replace mask advice with sub-SLOT advice |
9 |
|
10 |
eclass/nvidia-driver.eclass | 18 +++++++----------- |
11 |
1 file changed, 7 insertions(+), 11 deletions(-) |
12 |
|
13 |
diff --git a/eclass/nvidia-driver.eclass b/eclass/nvidia-driver.eclass |
14 |
index 44ef003..def8395 100644 |
15 |
--- a/eclass/nvidia-driver.eclass |
16 |
+++ b/eclass/nvidia-driver.eclass |
17 |
@@ -88,11 +88,11 @@ drv_340x=" |
18 |
0caf 0cb0 0cb1 0cbc 10c0 10c3 10c5 10d8 |
19 |
" |
20 |
|
21 |
-mask_71xx=">=x11-drivers/nvidia-drivers-72.0.0" |
22 |
-mask_96xx=">=x11-drivers/nvidia-drivers-97.0.0" |
23 |
-mask_173x=">=x11-drivers/nvidia-drivers-177.0.0" |
24 |
-mask_304x=">=x11-drivers/nvidia-drivers-305.0.0" |
25 |
-mask_340x=">=x11-drivers/nvidia-drivers-341.0.0" |
26 |
+mask_71xx="x11-drivers/nvidia-drivers:0/71" |
27 |
+mask_96xx="x11-drivers/nvidia-drivers:0/96" |
28 |
+mask_173x="x11-drivers/nvidia-drivers:0/173" |
29 |
+mask_304x="x11-drivers/nvidia-drivers:0/304" |
30 |
+mask_340x="x11-drivers/nvidia-drivers:0/340" |
31 |
|
32 |
# @FUNCTION: nvidia-driver-get-card |
33 |
# @DESCRIPTION: |
34 |
@@ -171,12 +171,8 @@ nvidia-driver-check-warning() { |
35 |
ewarn "system. If this is intentional, please ignore this. If it is not" |
36 |
ewarn "please perform the following steps:" |
37 |
ewarn |
38 |
- ewarn "Add the following mask entry to /etc/portage/package.mask by" |
39 |
- if [ -d "${ROOT}/etc/portage/package.mask" ]; then |
40 |
- ewarn "echo \"${NVIDIA_MASK}\" > /etc/portage/package.mask/nvidia-drivers" |
41 |
- else |
42 |
- ewarn "echo \"${NVIDIA_MASK}\" >> /etc/portage/package.mask" |
43 |
- fi |
44 |
+ ewarn "Emerge the following branch of x11-drivers/nvidia-drivers:" |
45 |
+ ewarn "emerge ${NVIDIA_MASK}" |
46 |
ewarn |
47 |
ewarn "Failure to perform the steps above could result in a non-working" |
48 |
ewarn "X setup." |