[arch-commits] Commit in nvidia/trunk (PKGBUILD)
Ionut Biru
ibiru at archlinux.org
Wed Feb 8 09:32:45 UTC 2012
Date: Wednesday, February 8, 2012 @ 04:32:45
Author: ibiru
Revision: 149467
move the blacklist to /lib/modprobe.d
add nvidiafb ti /lib/modprobe.d/nvidia.conf until is dropped from kernel
Modified:
nvidia/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-02-08 09:26:45 UTC (rev 149466)
+++ PKGBUILD 2012-02-08 09:32:45 UTC (rev 149467)
@@ -5,7 +5,7 @@
pkgver=290.10
_extramodules=extramodules-3.2-ARCH
_kernver="$(cat /lib/modules/${_extramodules}/version)"
-pkgrel=2
+pkgrel=3
pkgdesc="NVIDIA drivers for linux."
arch=('i686' 'x86_64')
url="http://www.nvidia.com/"
@@ -38,8 +38,9 @@
package() {
install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
"${pkgdir}/lib/modules/${_extramodules}/nvidia.ko"
- install -d -m755 "${pkgdir}/etc/modprobe.d"
- echo "blacklist nouveau" >> "${pkgdir}/etc/modprobe.d/nouveau_blacklist.conf"
+ install -d -m755 "${pkgdir}/lib/modprobe.d"
+ echo "blacklist nouveau" >> "${pkgdir}/lib/modprobe.d/nvidia.conf"
+ echo "blacklist nvidiafb" >> "${pkgdir}/lib/modprobe.d/nvidia.conf"
sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "${startdir}/nvidia.install"
gzip "${pkgdir}/lib/modules/${_extramodules}/nvidia.ko"
}
More information about the arch-commits
mailing list