summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/diskdrake/interactive.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index e1a18059c..ef7b9815e 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,5 +1,6 @@
- diskdrake:
o do not warn about data loss when changing type of unformatted partition
+ o do not write partition table after creation if not needed
Version 13.20 - 21 April 2010
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 435500dbb..fb83cb6f9 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -551,8 +551,8 @@ First remove a primary partition and create an extended partition."));
},
) or return;
- write_partitions($in, $hd) or return;
if ($use_dmcrypt) {
+ write_partitions($in, $hd) or return;
# Initialize it and format it
dmcrypt_format($in, $hd, $part, $all_hds);
my $p = find { $part->{dm_name} eq $_->{dmcrypt_name} } @{$all_hds->{dmcrypts}};