summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-03 16:41:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-03 16:41:16 +0000
commitec329cc4150b3db24c196c46b5e84d38a3a98259 (patch)
tree365e9cdba8dd9329e42d7defa6e0d4a31eea6afc
parent7661b27b7a383f7b6d915bba2981a673a99017de (diff)
downloaddrakx-ec329cc4150b3db24c196c46b5e84d38a3a98259.tar
drakx-ec329cc4150b3db24c196c46b5e84d38a3a98259.tar.gz
drakx-ec329cc4150b3db24c196c46b5e84d38a3a98259.tar.bz2
drakx-ec329cc4150b3db24c196c46b5e84d38a3a98259.tar.xz
drakx-ec329cc4150b3db24c196c46b5e84d38a3a98259.zip
- don't check /proc/partitions for a partition_table::lvm
(ie PV on non partitioned drive)
-rw-r--r--perl-install/fs/proc_partitions.pm3
-rw-r--r--perl-install/install/NEWS3
2 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/fs/proc_partitions.pm b/perl-install/fs/proc_partitions.pm
index c0fc8efc4..566f9ee70 100644
--- a/perl-install/fs/proc_partitions.pm
+++ b/perl-install/fs/proc_partitions.pm
@@ -46,6 +46,9 @@ sub read {
sub compare {
my ($hd) = @_;
+ eval { $hd->isa('partition_table::lvm') } and return;
+
+
my @l1 = partition_table::get_normal_parts($hd);
my @l2 = grep { $_->{rootDevice} eq $hd->{device} } &read([$hd]);
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 0d6af6164..de7540ed1 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- don't check /proc/partitions for a partition_table::lvm
+ (ie PV on non partitioned drive)
+
Version 10.5.6 - 30 November 2007, by Pascal "Pixel" Rigaux
- restrict the proposed input-methods for each language