[Fai-commit] r6320 - branches/experimental/patches

Michael Tautschnig mt at alioth.debian.org
Wed Mar 16 14:25:57 UTC 2011


Author: mt
Date: 2011-03-16 14:25:49 +0000 (Wed, 16 Mar 2011)
New Revision: 6320

Modified:
   branches/experimental/patches/setup-storage_lvm-raid-preserve
Log:
--wait-clean isn't supported by lenny mdadm


Modified: branches/experimental/patches/setup-storage_lvm-raid-preserve
===================================================================
--- branches/experimental/patches/setup-storage_lvm-raid-preserve	2011-03-16 12:41:47 UTC (rev 6319)
+++ branches/experimental/patches/setup-storage_lvm-raid-preserve	2011-03-16 14:25:49 UTC (rev 6320)
@@ -217,7 +217,7 @@
 +      join(",self_cleared_", @{ $FAI::current_dev_children{$md} })
 +      if (defined($FAI::current_dev_children{$md}) &&
 +        scalar(@{ $FAI::current_dev_children{$md} }));
-+    &FAI::push_command( "mdadm --wait-clean -W --stop $md", "$pre_deps_cl", "self_cleared_$md");
++    &FAI::push_command( "mdadm -W --stop $md", "$pre_deps_cl", "self_cleared_$md");
 +  }
 +
    foreach my $config (keys %FAI::configs) { # loop through all configs




More information about the Fai-commit mailing list