diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2010-04-22 12:47:49 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2010-04-22 12:47:49 +0000 |
commit | e78ce30b4cf0fafa1cbe742e25d92690e558fdf0 (patch) | |
tree | 9c20f0293510fb211c433ec5f317786d6821153e /perl-install/diskdrake/interactive.pm | |
parent | b3718d78d3ef21d1d024626d658111cb19bf8c8b (diff) | |
download | drakx-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
Diffstat (limited to 'perl-install/diskdrake/interactive.pm')
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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}}; |