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

Tobias Powalowski tpowa at archlinux.org
Fri Jun 25 05:54:17 EDT 2010


    Date: Friday, June 25, 2010 @ 05:54:17
  Author: tpowa
Revision: 84011

bump to 158 version

Modified:
  udev/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-25 09:35:26 UTC (rev 84010)
+++ PKGBUILD	2010-06-25 09:54:17 UTC (rev 84011)
@@ -5,7 +5,7 @@
 
 pkgbase="udev"
 pkgname=('udev' 'udev-compat')
-pkgver=157
+pkgver=158
 pkgrel=1
 arch=(i686 x86_64)
 url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
@@ -17,7 +17,7 @@
 source=(http://www.kernel.org/pub/linux/utils/kernel/hotplug/$pkgname-$pkgver.tar.bz2
         81-arch.rules load-modules.sh cdsymlinks.sh root-link.sh
         arch-udev-rules.patch)
-md5sums=('0ea39cc875116982abf200eb16c1b53e'
+md5sums=('26f99dde11f8e393d659614d7d1a3964'
          '6393ee81993f8b9beb776ca904005864'
          'f91fddc67609b45b244a624977c4247b'
          '2e808ee78d237c478b57af2a68d43769'
@@ -60,10 +60,6 @@
   install -D -m755 $srcdir/root-link.sh $pkgdir/lib/udev/root-link.sh
   # disable error logging to prevent startup failures printed to vc on boot
   sed -i -e 's|udev_log="err"|udev_log="0"|g' $pkgdir/etc/udev/udev.conf
-  # install additional standard rules files
-  for rule in $srcdir/$pkgname-$pkgver/rules/packages/*.rules; do
-      install -D -m 644 $rule $pkgdir/lib/udev/rules.d/
-  done
   # fix standard udev rules to fit to arch
   cd $pkgdir/lib/udev/rules.d/
   patch -Np1 -i $srcdir/arch-udev-rules.patch || return 1
@@ -75,12 +71,6 @@
      $pkgdir/etc/udev/rules.d/75-persistent-net-generator.rules.optional
   mv $pkgdir/lib/udev/rules.d/75-cd-aliases-generator.rules \
      $pkgdir/etc/udev/rules.d/75-cd-aliases-generator.rules.optional
-  # remove not needed rules
-  rm $pkgdir/lib/udev/rules.d/40-ia64.rules
-  rm $pkgdir/lib/udev/rules.d/40-ppc.rules
-  rm $pkgdir/lib/udev/rules.d/40-s390.rules
-  rm $pkgdir/lib/udev/rules.d/64-device-mapper.rules
-  rm $pkgdir/lib/udev/rules.d/64-md-raid.rules
 
   # create framebuffer blacklist
   mkdir -p $pkgdir/etc/modprobe.d/
@@ -89,7 +79,6 @@
   done
 
   # create static devices in /lib/udev/devices/
-  mkdir ${pkgdir}/lib/udev/devices
   mkdir ${pkgdir}/lib/udev/devices/pts
   mkdir ${pkgdir}/lib/udev/devices/shm
 
@@ -130,5 +119,5 @@
   groups=('')
   cd $srcdir/$pkgname-$pkgver
   install -d -m755 ${pkgdir}/lib/${pkgname}/rules.d
-  install -D -m644 ${srcdir}/${pkgname}-${pkgver}/rules/gentoo/30-kernel-compat.rules ${pkgdir}/lib/udev/rules.d/30-kernel-compat.rules
+  install -D -m644 ${srcdir}/${pkgname}-${pkgver}/rules/misc/30-kernel-compat.rules ${pkgdir}/lib/udev/rules.d/30-kernel-compat.rules
 }



More information about the arch-commits mailing list