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

Michael Tautschnig mt at alioth.debian.org
Tue Mar 15 16:48:31 UTC 2011


Author: mt
Date: 2011-03-15 16:48:22 +0000 (Tue, 15 Mar 2011)
New Revision: 6317

Modified:
   branches/experimental/patches/setup-storage_lvm-raid-preserve
Log:
setup-storage: another two missing ".", but this time with more drastic
consequences


Modified: branches/experimental/patches/setup-storage_lvm-raid-preserve
===================================================================
--- branches/experimental/patches/setup-storage_lvm-raid-preserve	2011-03-15 15:07:36 UTC (rev 6316)
+++ branches/experimental/patches/setup-storage_lvm-raid-preserve	2011-03-15 16:48:22 UTC (rev 6317)
@@ -222,7 +222,8 @@
 -      my $pre = ",exist_$d";
 +      my $pre = "exist_$d";
        my ($i_p_d, $disk, $part_no) = &FAI::phys_dev($d);
-       $pre = ",pt_complete_$disk"
+-      $pre = ",pt_complete_$disk"
++      $pre .= ",pt_complete_$disk"
          if (&FAI::set_partition_type_on_phys_dev($d, "lvm") &&
            defined($FAI::configs{"PHY_$disk"}));
  
@@ -239,7 +240,8 @@
 -    my $pre = ",exist_$dev";
 +    my $pre = "exist_$dev";
      my ($i_p_d, $disk, $part_no) = &FAI::phys_dev($dev);
-     $pre = ",pt_complete_$disk"
+-    $pre = ",pt_complete_$disk"
++    $pre .= ",pt_complete_$disk"
        if (&FAI::set_partition_type_on_phys_dev($dev, "lvm") &&
          defined($FAI::configs{"PHY_$disk"}));
  




More information about the Fai-commit mailing list