[arch-commits] Commit in udev/trunk (PKGBUILD modprobe.nouevau.conf)

Tom Gundersen tomegun at archlinux.org
Wed Feb 15 03:51:19 EST 2012


    Date: Wednesday, February 15, 2012 @ 03:51:19
  Author: tomegun
Revision: 150220

upgpkg: udev 181-3

blacklist some modules to make nouveau work again for old cards

Added:
  udev/trunk/modprobe.nouevau.conf
Modified:
  udev/trunk/PKGBUILD

-----------------------+
 PKGBUILD              |   11 ++++++++---
 modprobe.nouevau.conf |    7 +++++++
 2 files changed, 15 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-15 08:13:39 UTC (rev 150219)
+++ PKGBUILD	2012-02-15 08:51:19 UTC (rev 150220)
@@ -6,7 +6,7 @@
 
 pkgname=udev
 pkgver=181
-pkgrel=2
+pkgrel=3
 pkgdesc="The userspace dev tools (udev)"
 depends=('util-linux' 'libusb-compat' 'glib2' 'kmod' 'pciutils' 'usbutils' 'pciutils')
 install=udev.install
@@ -15,7 +15,8 @@
 makedepends=('gobject-introspection' 'gperf' 'libxslt' 'usbutils' 'kmod')
 source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/$pkgname-$pkgver.tar.xz
 	initcpio-hooks-udev
-	initcpio-install-udev)
+	initcpio-install-udev
+	modprobe.nouevau.conf)
 url="http://git.kernel.org/?p=linux/hotplug/udev.git;a=summary"
 backup=(etc/udev/udev.conf)
 groups=('base')
@@ -56,10 +57,14 @@
                s#GROUP="cdrom"#GROUP="optical"#g' $i
   done
 
+  # nouveau still conflicts with some other standard kernel modules, should go away soon
+  install -D -m644 ../modprobe.nouevau.conf ${pkgdir}/lib/modprobe.d/nouveau.conf
+
   # install the mkinitpcio hook
   install -D -m644 ../initcpio-hooks-udev ${pkgdir}/lib/initcpio/hooks/udev
   install -D -m644 ../initcpio-install-udev ${pkgdir}/lib/initcpio/install/udev
 }
 md5sums=('0d7af750702620a871b9f9b98d8ad859'
          'a4dd853050bf2e0ae6b2e3d2c75499c2'
-         'ee0bfe91a20fff12cc25ab1d1e024853')
+         'ee0bfe91a20fff12cc25ab1d1e024853'
+         '633dabda1fbfa4b6fe4dab5452b40fed')

Added: modprobe.nouevau.conf
===================================================================
--- modprobe.nouevau.conf	                        (rev 0)
+++ modprobe.nouevau.conf	2012-02-15 08:51:19 UTC (rev 150220)
@@ -0,0 +1,7 @@
+# The following modules conflict with nouveau
+# They will probably soon be disabled from the stock kernel
+# config, and this file will go away.
+# See <http://nouveau.freedesktop.org/wiki/KernelModeSetting>
+#
+blacklist nvidiafb
+blacklist rivafb



More information about the arch-commits mailing list