[Fai-commit] r6722 - trunk/lib/setup-storage
Michael Tautschnig
mt at alioth.debian.org
Sat Oct 22 14:54:49 UTC 2011
Author: mt
Date: 2011-10-22 14:54:49 +0000 (Sat, 22 Oct 2011)
New Revision: 6722
Modified:
trunk/lib/setup-storage/Commands.pm
Log:
setup-storage: don't run wipefs on extended partitions
Bugfix for r6714
Modified: trunk/lib/setup-storage/Commands.pm
===================================================================
--- trunk/lib/setup-storage/Commands.pm 2011-10-22 14:51:22 UTC (rev 6721)
+++ trunk/lib/setup-storage/Commands.pm 2011-10-22 14:54:49 UTC (rev 6722)
@@ -992,6 +992,8 @@
my $mapped_id = $FAI::configs{$config}{partitions}{$part_id}{maps_to_existing};
$wipe_cmd = "true" if ($mapped_id == $part_no);
}
+ $wipe_cmd = "true" if
+ ($FAI::current_config{$disk}{partitions}{$part_no}{is_extended});
&FAI::push_command($wipe_cmd, "exist_$disk$pre_deps", "wipefs_$c");
$pre_deps .= ",wipefs_$c";
}
More information about the Fai-commit
mailing list