Date: Thursday, May 20, 2010 @ 16:54:13 Author: tpowa Revision: 80707
upgpkg: hwdetect 2010.05-1 fixed raid partition check Modified: hwdetect/trunk/PKGBUILD hwdetect/trunk/hwdetect ----------+ PKGBUILD | 6 +++--- hwdetect | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-05-20 20:53:58 UTC (rev 80706) +++ PKGBUILD 2010-05-20 20:54:13 UTC (rev 80707) @@ -1,8 +1,8 @@ # $Id$ # Maintainer: Tobias Powalowski <tp...@archlinux.org> pkgname=hwdetect -pkgver=2010.04 -pkgrel=2 +pkgver=2010.05 +pkgrel=1 pkgdesc="Hardware detection script with loading modules and mkinitcpio.conf / rc.conf support" arch=(any) license=('GPL') @@ -16,4 +16,4 @@ build() { install -D -m 755 ${srcdir}/hwdetect ${pkgdir}/sbin/hwdetect } -md5sums=('15ea80f186e30cce80378711b1f85e95') +md5sums=('099e1ab04b8f2ffaa3493e0f36ba9198') Modified: hwdetect =================================================================== --- hwdetect 2010-05-20 20:53:58 UTC (rev 80706) +++ hwdetect 2010-05-20 20:54:13 UTC (rev 80707) @@ -167,7 +167,7 @@ if [ "$(echo "$ROOTDEVICE" | grep "/dev/md")" ]; then ADVANCED="mdadm" # raid partitions or raid? - if [ "$(echo "$ROOTDEVICE" | grep "/dev/md_d")" ]; then + if [ "$(echo "$ROOTDEVICE" | grep "/dev/md*p")" ]; then realdevice="$(echo $ROOTDEVICE | sed -e 's#p.*##g' -e 's#/dev/##g')" if ! [ "$(find /sys/block/$realdevice/slaves/ -name 'dm*' 2>/dev/null)" = "" ]; then SET_LVM=""