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

Tobias Powalowski tpowa at archlinux.org
Sun Jun 6 15:52:38 EDT 2010


    Date: Sunday, June 6, 2010 @ 15:52:38
  Author: tpowa
Revision: 81889

upgpkg: hwdetect 2010.06-3
fix btrfs detection

Modified:
  hwdetect/trunk/PKGBUILD
  hwdetect/trunk/hwdetect

----------+
 PKGBUILD |    5 ++---
 hwdetect |    2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-06 18:00:27 UTC (rev 81888)
+++ PKGBUILD	2010-06-06 19:52:38 UTC (rev 81889)
@@ -2,7 +2,7 @@
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 pkgname=hwdetect
 pkgver=2010.06
-pkgrel=2
+pkgrel=3
 pkgdesc="Hardware detection script with loading modules and mkinitcpio.conf / rc.conf support"
 arch=(any)
 license=('GPL')
@@ -16,5 +16,4 @@
 build() {
   install -D -m 755 ${srcdir}/hwdetect ${pkgdir}/sbin/hwdetect
 }
-
-md5sums=('436b5fc458d26395c0c8c2317c8f8ef2')
+md5sums=('12854d7a9f3e0347355e12a00b52cdb9')

Modified: hwdetect
===================================================================
--- hwdetect	2010-06-06 18:00:27 UTC (rev 81888)
+++ hwdetect	2010-06-06 19:52:38 UTC (rev 81889)
@@ -445,7 +445,7 @@
 				for i in $FILESYSTEM; do
 					 [ "$(grep $i /tmp/.blkid)" ] && FS="$FS $i"
 				done
-				[ "$(grep btrfs $FS)" ] && FS="$FS crc32c"
+				[ "$(echo $FS | grep btrfs)" ] && FS="$FS crc32c"
 				MODULES_INITRAMFS="$MODULES_INITRAMFS $FS"
 				showlist2 "MODULES" \"$MODULES_INITRAMFS\" | sed -e 's/(\  /(/g' -e 's/"\ /"/g' -e 's/\ "/"/g' -e 's/\ \ /\ /g'
 				;;



More information about the arch-commits mailing list