[arch-commits] Commit in udev/trunk (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Mon Feb 14 14:00:16 UTC 2011


    Date: Monday, February 14, 2011 @ 09:00:15
  Author: tpowa
Revision: 109960

upgpkg: udev 166-2
fix framebuffer blacklist

Modified:
  udev/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-02-14 13:18:57 UTC (rev 109959)
+++ PKGBUILD	2011-02-14 14:00:15 UTC (rev 109960)
@@ -6,7 +6,7 @@
 pkgbase="udev"
 pkgname=('udev' 'udev-compat')
 pkgver=166
-pkgrel=1
+pkgrel=2
 arch=(i686 x86_64)
 url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
 license=('GPL')
@@ -63,9 +63,9 @@
 
   # create framebuffer blacklist
   mkdir -p $pkgdir/etc/modprobe.d/
-  for mod in $(find /lib/modules/*/kernel/drivers/video -name '*fb.ko' -exec basename {} .ko \;); do 
-	echo "blacklist $mod" >> $pkgdir/etc/modprobe.d/framebuffer_blacklist.conf
-  done
+  for mod in $(find /lib/modules/*/kernel/drivers/video -name '*fb.ko.gz' -exec basename {} .ko.gz \;); do 
+  	echo "blacklist $mod" 
+  done | sort -u > $pkgdir/etc/modprobe.d/framebuffer_blacklist.conf
 
   # create static devices in /lib/udev/devices/
   mkdir ${pkgdir}/lib/udev/devices/pts




More information about the arch-commits mailing list