summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-04-22 12:47:49 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-04-22 12:47:49 +0000
commite78ce30b4cf0fafa1cbe742e25d92690e558fdf0 (patch)
tree9c20f0293510fb211c433ec5f317786d6821153e
parentb3718d78d3ef21d1d024626d658111cb19bf8c8b (diff)
downloaddrakx-e78ce30b4cf0fafa1cbe742e25d92690e558fdf0.tar
drakx-e78ce30b4cf0fafa1cbe742e25d92690e558fdf0.tar.gz
drakx-e78ce30b4cf0fafa1cbe742e25d92690e558fdf0.tar.bz2
drakx-e78ce30b4cf0fafa1cbe742e25d92690e558fdf0.tar.xz
drakx-e78ce30b4cf0fafa1cbe742e25d92690e558fdf0.zip
do not write partition table after partition creation if not needed
-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}};