summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
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/diskdrake
parent2801469d9a7d75854dd461d5e8d88728c1e8659a (diff)
downloaddrakx-backup-do-not-use-85561041a6f81a6646e25a1ff88ccaf577eb8eed.tar
drakx-backup-do-not-use-85561041a6f81a6646e25a1ff88ccaf577eb8eed.tar.gz
drakx-backup-do-not-use-85561041a6f81a6646e25a1ff88ccaf577eb8eed.tar.bz2
drakx-backup-do-not-use-85561041a6f81a6646e25a1ff88ccaf577eb8eed.tar.xz
drakx-backup-do-not-use-85561041a6f81a6646e25a1ff88ccaf577eb8eed.zip
Don't use label to mount partitions on lvm
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm2
1 files changed, 1 insertions, 1 deletions
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);
}