[scripts] fixup nvidia drivers legacy setup

This commit is contained in:
Fabio Erculiani 2012-10-12 17:23:01 +02:00
parent d75faf7fa1
commit 878f4b49f6

View File

@ -153,12 +153,14 @@ setup_proprietary_gfx_drivers() {
kernel_tag="#$(cat "${kernel_tag_file}")" kernel_tag="#$(cat "${kernel_tag_file}")"
rm -rf /var/lib/entropy/client/packages/packages*/${mydir}/*/x11-drivers* rm -rf /var/lib/entropy/client/packages/packages*/${mydir}/*/x11-drivers*
ACCEPT_LICENSE="NVIDIA" equo install --fetch --nodeps =x11-drivers/nvidia-drivers-173*$kernel_tag ACCEPT_LICENSE="NVIDIA" equo install --fetch --nodeps =x11-drivers/nvidia-userspace-173*$kernel_tag \
# dead with >=xorg-server-1.11 =x11-drivers/nvidia-drivers-173*$kernel_tag
# ACCEPT_LICENSE="NVIDIA" equo install --fetch --nodeps =x11-drivers/nvidia-drivers-96.43.20*$kernel_tag ACCEPT_LICENSE="NVIDIA" equo install --fetch --nodeps =x11-drivers/nvidia-drivers-96*$kernel_tag \
=x11-drivers/nvidia-userspace-96*$kernel_tag
## not working with >=xorg-server-1.5 ## not working with >=xorg-server-1.5
## ACCEPT_LICENSE="NVIDIA" equo install --fetch --nodeps ~x11-drivers/nvidia-drivers-71.86.*$kernel_tag ## ACCEPT_LICENSE="NVIDIA" equo install --fetch --nodeps ~x11-drivers/nvidia-drivers-71.86.*$kernel_tag
mv /var/lib/entropy/client/packages/packages-nonfree/${mydir}/*/x11-drivers\:nvidia-drivers*.tbz2 /install-data/drivers/ mv /var/lib/entropy/client/packages/packages-nonfree/${mydir}/*/x11-drivers\:nvidia-{drivers,userspace}*.tbz2 \
/install-data/drivers/
# if we ship with ati-drivers, we have KMS disabled by default. # if we ship with ati-drivers, we have KMS disabled by default.
# and better set driver arch to classic # and better set driver arch to classic