summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-05-28 10:11:37 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-05-28 10:11:37 +0000
commit196b096a31580adccec0c9decf7d8249ed5d372a (patch)
treefd74c8a44978e17857892dd227097d4a6417fca8 /perl-install/diskdrake
parent42ac085783f4d556e77340bf4f9af047d3fbc80b (diff)
downloaddrakx-196b096a31580adccec0c9decf7d8249ed5d372a.tar
drakx-196b096a31580adccec0c9decf7d8249ed5d372a.tar.gz
drakx-196b096a31580adccec0c9decf7d8249ed5d372a.tar.bz2
drakx-196b096a31580adccec0c9decf7d8249ed5d372a.tar.xz
drakx-196b096a31580adccec0c9decf7d8249ed5d372a.zip
don't lose mountpoint if suggested partition was swap (#59510)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 0c6421b8e..6d22bd43c 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -510,6 +510,7 @@ sub Create {
], complete => sub {
$part->{size} = from_Mb($mb_size, min_partition_size($hd), $max - $part->{start}); #- need this to be able to get back the approximation of using MB
$do_suggest_mount_point = 0 if !$part->{mntpoint};
+ put_in_hash($part, fs::type::type_name2subpart($type_name));
$part->{mntpoint} = '' if isNonMountable($part);
$part->{mntpoint} = 'swap' if isSwap($part);
fs::mount_options::set_default($part, ignore_is_removable => 1);