summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/fs/proc_partitions.pm2
-rw-r--r--perl-install/fsedit.pm2
2 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/fs/proc_partitions.pm b/perl-install/fs/proc_partitions.pm
index 90cd2fa7b..1cb3acfd1 100644
--- a/perl-install/fs/proc_partitions.pm
+++ b/perl-install/fs/proc_partitions.pm
@@ -59,8 +59,6 @@ sub read {
sub compare {
my ($hd) = @_;
- $hd->{bus} =~ /^dmraid_/ and log::l("skipping /proc/partititions check for dmraid $hd->{device}"), return;
-
my @l1 = partition_table::get_normal_parts($hd);
my @l2 = grep { $_->{rootDevice} eq $hd->{device} } &read([$hd]);
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 71522fbff..241354563 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -190,7 +190,7 @@ sub get_hds {
if (listlength(partition_table::get_normal_parts($hd)) == 0) {
$handled = 1 if $handle_die_and_cdie->();
} else {
- fs::proc_partitions::compare($hd) if $::isInstall;
+ fs::proc_partitions::compare($hd) if !fs::type::is_dmraid($hd) && $::isInstall;
}
} sub {
my $err = $@;