From e78ce30b4cf0fafa1cbe742e25d92690e558fdf0 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Thu, 22 Apr 2010 12:47:49 +0000 Subject: do not write partition table after partition creation if not needed --- perl-install/NEWS | 1 + perl-install/diskdrake/interactive.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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}}; -- cgit v1.2.1