diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-09-23 07:38:02 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-09-23 07:45:27 +0200 |
commit | 587feb1bdaa44fc87063880491cce5d88a0c782f (patch) | |
tree | 3b47b21f12864f20afd392727cdc50d36947b292 /eclass/nvidia-driver.eclass | |
parent | Replace mask advice with sub-SLOT advice (diff) | |
download | gentoo-587feb1bdaa44fc87063880491cce5d88a0c782f.tar.gz gentoo-587feb1bdaa44fc87063880491cce5d88a0c782f.tar.bz2 gentoo-587feb1bdaa44fc87063880491cce5d88a0c782f.zip |
Revert "Replace mask advice with sub-SLOT advice"
This reverts commit 0634398fa7c920efbab0ef30cf26eebec755deba.
Diffstat (limited to 'eclass/nvidia-driver.eclass')
-rw-r--r-- | eclass/nvidia-driver.eclass | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/eclass/nvidia-driver.eclass b/eclass/nvidia-driver.eclass index def839554bed..44ef003fd136 100644 --- a/eclass/nvidia-driver.eclass +++ b/eclass/nvidia-driver.eclass @@ -88,11 +88,11 @@ drv_340x=" 0caf 0cb0 0cb1 0cbc 10c0 10c3 10c5 10d8 " -mask_71xx="x11-drivers/nvidia-drivers:0/71" -mask_96xx="x11-drivers/nvidia-drivers:0/96" -mask_173x="x11-drivers/nvidia-drivers:0/173" -mask_304x="x11-drivers/nvidia-drivers:0/304" -mask_340x="x11-drivers/nvidia-drivers:0/340" +mask_71xx=">=x11-drivers/nvidia-drivers-72.0.0" +mask_96xx=">=x11-drivers/nvidia-drivers-97.0.0" +mask_173x=">=x11-drivers/nvidia-drivers-177.0.0" +mask_304x=">=x11-drivers/nvidia-drivers-305.0.0" +mask_340x=">=x11-drivers/nvidia-drivers-341.0.0" # @FUNCTION: nvidia-driver-get-card # @DESCRIPTION: @@ -171,8 +171,12 @@ nvidia-driver-check-warning() { ewarn "system. If this is intentional, please ignore this. If it is not" ewarn "please perform the following steps:" ewarn - ewarn "Emerge the following branch of x11-drivers/nvidia-drivers:" - ewarn "emerge ${NVIDIA_MASK}" + ewarn "Add the following mask entry to /etc/portage/package.mask by" + if [ -d "${ROOT}/etc/portage/package.mask" ]; then + ewarn "echo \"${NVIDIA_MASK}\" > /etc/portage/package.mask/nvidia-drivers" + else + ewarn "echo \"${NVIDIA_MASK}\" >> /etc/portage/package.mask" + fi ewarn ewarn "Failure to perform the steps above could result in a non-working" ewarn "X setup." |