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

Tobias Powalowski tpowa at archlinux.org
Sun Feb 7 08:48:42 UTC 2010


    Date: Sunday, February 7, 2010 @ 03:48:42
  Author: tpowa
Revision: 67448

removed sleep again not the error source

Modified:
  mdadm/trunk/PKGBUILD
  mdadm/trunk/mdadm_hook

------------+
 PKGBUILD   |    3 ++-
 mdadm_hook |    6 +-----
 2 files changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-02-07 08:47:21 UTC (rev 67447)
+++ PKGBUILD	2010-02-07 08:48:42 UTC (rev 67448)
@@ -22,7 +22,7 @@
          '6df172c8f77b280018cf87eb3d313f29'
          '00cbed931db4f15b6ce49e3e7d433966'
          '0c201efd85790fea6aaf7686a9b31510'
-         '8e44a59031f896d64985a63741ad2cad')
+         '1a3eb63832cecd6550f5b0a21d58cfdb')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
@@ -38,3 +38,4 @@
   make MDASSEMBLE_AUTO=1 mdassemble
   install -D -m755 mdassemble $pkgdir/sbin/mdassemble
 }
+

Modified: mdadm_hook
===================================================================
--- mdadm_hook	2010-02-07 08:47:21 UTC (rev 67447)
+++ mdadm_hook	2010-02-07 08:48:42 UTC (rev 67448)
@@ -40,9 +40,5 @@
         done
     fi
     # assemble everything
-    if [ -e $mdconfig ]; then
-        /sbin/mdassemble
-        #fix for udev creating md devices 
-        sleep 0.5
-    fi
+    [ -e $mdconfig ] && /sbin/mdassemble
 }
\ No newline at end of file




More information about the arch-commits mailing list