[arch-commits] CVS update of arch/build/base/klibc-udev (PKGBUILD udev.rules)

Tobias Powalowski tpowa at archlinux.org
Sat Apr 28 09:19:24 EDT 2007


    Date: Saturday, April 28, 2007 @ 09:19:24
  Author: tpowa
    Path: /home/cvs-arch/arch/build/base/klibc-udev

Modified: PKGBUILD (1.20 -> 1.21) udev.rules (1.11 -> 1.12)

'upgpkg: update to new version'


------------+
 PKGBUILD   |   13 ++++++-------
 udev.rules |    5 +++++
 2 files changed, 11 insertions(+), 7 deletions(-)


Index: arch/build/base/klibc-udev/PKGBUILD
diff -u arch/build/base/klibc-udev/PKGBUILD:1.20 arch/build/base/klibc-udev/PKGBUILD:1.21
--- arch/build/base/klibc-udev/PKGBUILD:1.20	Sun Mar 25 09:42:21 2007
+++ arch/build/base/klibc-udev/PKGBUILD	Sat Apr 28 09:19:24 2007
@@ -1,9 +1,9 @@
-#$Id: PKGBUILD,v 1.20 2007/03/25 13:42:21 tpowa Exp $
+#$Id: PKGBUILD,v 1.21 2007/04/28 13:19:24 tpowa Exp $
 #Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=klibc-udev
-pkgver=107
-pkgrel=2
+pkgver=109
+pkgrel=1
 pkgdesc="udevd compiled under klibc"
 arch=(i686 x86_64)
 url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
@@ -11,15 +11,14 @@
 source=(http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-$pkgver.tar.bz2 \
         udev_hook udev_install start_udev udev.rules load-modules.sh \
         vol_id-suspend2.patch post-107.patch)
-md5sums=('b90dcb9d6d164fa34fe6632c506ce867' 'bcfed63882660e7d33f367d722e0a5c9'\
+md5sums=('6fd1ed31f48d7e99c549a132974a34c0' 'bcfed63882660e7d33f367d722e0a5c9'\
          '44747726599e90a2fa3db474bfc57a0e' '22741baf8f5d7d8bc88022b39bca74d8'\
-	 'bf94b32ce351d1442e6c21a86714f2b5' '90f4335cc6fd01b554b453e842ff212f'\
-	 '80f75fc9a8fc32c7b8ff146d53bf579f' 'd3b6ac926fb7b3c34d202c1deafd9f1d')
+         'a6daafa2149139636fcca5fb242e4cfb' '90f4335cc6fd01b554b453e842ff212f'\
+         '80f75fc9a8fc32c7b8ff146d53bf579f' 'd3b6ac926fb7b3c34d202c1deafd9f1d')
 
 build()
 {
   cd $startdir/src/udev-$pkgver
-  patch -Np1 -i ../post-107.patch || return 1
   patch -p1 -i ${startdir}/src/vol_id-suspend2.patch || return 1
   sed -i "s|USE_LOG = .*|USE_LOG = false|g" Makefile
 
Index: arch/build/base/klibc-udev/udev.rules
diff -u arch/build/base/klibc-udev/udev.rules:1.11 arch/build/base/klibc-udev/udev.rules:1.12
--- arch/build/base/klibc-udev/udev.rules:1.11	Sun Mar 25 09:42:21 2007
+++ arch/build/base/klibc-udev/udev.rules	Sat Apr 28 09:19:24 2007
@@ -132,6 +132,11 @@
 KERNEL=="mmcblk[0-9]", ATTR{name}=="?*", ATTR{serial}=="?*", ENV{ID_NAME}="$attr{name}", ENV{ID_SERIAL}="$attr{serial}", SYMLINK+="disk/by-id/mmc-$env{ID_NAME}_$env{ID_SERIAL}"
 KERNEL=="mmcblk[0-9]p[0-9]", ATTR{name}=="?*", ATTR{serial}=="?*", ENV{ID_NAME}="$attr{name}", ENV{ID_SERIAL}="$attr{serial}", SYMLINK+="disk/by-id/mmc-$env{ID_NAME}_$env{ID_SERIAL}-part%n"
 
+# libata compat (links like hd*)
+KERNEL=="sd*[!0-9]|sr*", ENV{ID_VENDOR}=="ATA", PROGRAM="ata_id $tempnode", ENV{ID_ATA_COMPAT}="$result"
+KERNEL=="sd*[!0-9]|sr*", ENV{ID_ATA_COMPAT}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_ATA_COMPAT}"
+KERNEL=="sd*[0-9]", ENV{ID_ATA_COMPAT}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_ATA_COMPAT}-part%n"
+
 KERNEL=="mmcblk[0-9]", ATTR{name}=="?*", ATTR{serial}=="?*", ENV{ID_NAME}="$attr{name}", ENV{ID_SERIAL}="$attr{serial}", SYMLINK+="disk/by-id/mmc-$env{ID_NAME}_$env{ID_SERIAL}"
 KERNEL=="mmcblk[0-9]p[0-9]", ATTR{name}=="?*", ATTR{serial}=="?*", ENV{ID_NAME}="$attr{name}", ENV{ID_SERIAL}="$attr{serial}", SYMLINK+="disk/by-id/mmc-$env{ID_NAME}_$env{ID_SERIAL}-part%n"
 




More information about the arch-commits mailing list