diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2010-05-28 10:11:37 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2010-05-28 10:11:37 +0000 |
commit | 196b096a31580adccec0c9decf7d8249ed5d372a (patch) | |
tree | fd74c8a44978e17857892dd227097d4a6417fca8 | |
parent | 42ac085783f4d556e77340bf4f9af047d3fbc80b (diff) | |
download | drakx-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)
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 1 | ||||
-rw-r--r-- | perl-install/install/NEWS | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 3321415a8..49415ffc2 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- don't lose mountpoint if suggested partition was swap (#59510) + Version 13.31 - 26 May 2010 - service_harddrake: reconfigure X server after distro upgrades when video 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); diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 8eb0eb718..a9da5e8e7 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- don't lose mountpoint if suggested partition was swap (#59510) + Version 13.30 - 26 May 2010 - final banner |