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

Tobias Powalowski tpowa at archlinux.org
Sun Feb 7 08:36:41 UTC 2010


    Date: Sunday, February 7, 2010 @ 03:36:41
  Author: tpowa
Revision: 67446

added sleep 0.5 for safety

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

------------+
 PKGBUILD   |   11 +++++------
 mdadm_hook |    6 +++++-
 2 files changed, 10 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-02-07 08:31:20 UTC (rev 67445)
+++ PKGBUILD	2010-02-07 08:36:41 UTC (rev 67446)
@@ -18,7 +18,11 @@
         mdadm_hook)
 install=mdadm.install
 replaces=('raidtools')
-options=('force')
+md5sums=('4fd8e375a2ee314becd3196c1a250d98'
+         '6df172c8f77b280018cf87eb3d313f29'
+         '00cbed931db4f15b6ce49e3e7d433966'
+         '0c201efd85790fea6aaf7686a9b31510'
+         '8e44a59031f896d64985a63741ad2cad')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
@@ -34,8 +38,3 @@
   make MDASSEMBLE_AUTO=1 mdassemble
   install -D -m755 mdassemble $pkgdir/sbin/mdassemble
 }
-md5sums=('4fd8e375a2ee314becd3196c1a250d98'
-         '6df172c8f77b280018cf87eb3d313f29'
-         '00cbed931db4f15b6ce49e3e7d433966'
-         '0c201efd85790fea6aaf7686a9b31510'
-         '1a3eb63832cecd6550f5b0a21d58cfdb')

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




More information about the arch-commits mailing list