summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-01-19 16:52:26 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-01-19 16:52:26 +0000
commit85561041a6f81a6646e25a1ff88ccaf577eb8eed (patch)
treeb1bc70a7358e47a327a79a87236041110ff903bc /perl-install
parent2801469d9a7d75854dd461d5e8d88728c1e8659a (diff)
downloaddrakx-85561041a6f81a6646e25a1ff88ccaf577eb8eed.tar
drakx-85561041a6f81a6646e25a1ff88ccaf577eb8eed.tar.gz
drakx-85561041a6f81a6646e25a1ff88ccaf577eb8eed.tar.bz2
drakx-85561041a6f81a6646e25a1ff88ccaf577eb8eed.tar.xz
drakx-85561041a6f81a6646e25a1ff88ccaf577eb8eed.zip
Don't use label to mount partitions on lvm
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/diskdrake/interactive.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 858471cd7..d7e57f06c 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- diskdrake:
+ o don't use label for mounting partitions on lvm
+
- use "ComboBoxEntry" gtk2 widget instead of "Combo" (which is deprecated),
this also workarounds gtk2 bug with "hidden" Entry + "Combo"
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 57c2e33ef..caf8547bc 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -614,7 +614,7 @@ sub Label {
$part->{device_LABEL} = $old_label;
return;
}
- $part->{prefer_device_LABEL} = to_bool($part->{device_LABEL});
+ $part->{prefer_device_LABEL} = to_bool($part->{device_LABEL}) && !isLVM($part);
fs::format::clean_label($part);
fs::format::write_label($part);
}