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

Tobias Powalowski tpowa at archlinux.org
Sat Feb 6 20:16:31 UTC 2010


    Date: Saturday, February 6, 2010 @ 15:16:30
  Author: tpowa
Revision: 67419

added archboot udev sleep fix

Modified:
  dmraid/trunk/PKGBUILD
  dmraid/trunk/dmraid_hook

-------------+
 PKGBUILD    |    2 +-
 dmraid_hook |    2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-02-06 20:15:42 UTC (rev 67418)
+++ PKGBUILD	2010-02-06 20:16:30 UTC (rev 67419)
@@ -16,7 +16,7 @@
 install=dmraid.install
 md5sums=('32832c1dfd7e72cd4355490322fca68a'
          'b86ad3587cadd711b356d6ab49bdaf8d'
-         '2b1cb61f9cd8958363f260a5856acdd6')
+         '9eec2c6fe9349e474136fddf97b7bc08')
 
 build() {
   cd $srcdir/$pkgname/$pkgver

Modified: dmraid_hook
===================================================================
--- dmraid_hook	2010-02-06 20:15:42 UTC (rev 67418)
+++ dmraid_hook	2010-02-06 20:16:30 UTC (rev 67419)
@@ -3,6 +3,8 @@
 {
     /sbin/modprobe -q dm-mod >/dev/null 2>&1
     /sbin/modprobe -q dm-mirror >/dev/null 2>&1
+    #fix if udev initialises /dev/mapper/control
+    sleep 0.5
     if [ -e "/sys/class/misc/device-mapper" ]; then
         if [ ! -e "/dev/mapper/control" ]; then
             /bin/mknod "/dev/mapper/control" c $(cat /sys/class/misc/device-mapper/dev | sed 's|:| |')




More information about the arch-commits mailing list