summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/fs/type.pm2
-rw-r--r--perl-install/install/NEWS1
3 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index adca4eb48..38b5cc7fe 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -4,6 +4,7 @@
- handle raid metadata version
- force raid metadata to be 0.90 if /boot is on raid 1
- fix detection of /var partition
+- fix raid 0 to be handled as raid
Version 13.28 - 19 May 2010
diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm
index 6134a4633..5ff8210f3 100644
--- a/perl-install/fs/type.pm
+++ b/perl-install/fs/type.pm
@@ -353,7 +353,7 @@ sub isNonMountable {
sub isPartOfLVM { defined $_[0]{lvm} }
sub isPartOfRAID { defined $_[0]{raid} }
sub isPartOfLoopback { defined $_[0]{loopback} }
-sub isRAID { $_[0]{device} =~ /^md/ && $_[0]{level} }
+sub isRAID { $_[0]{device} =~ /^md/ && defined $_[0]{level} }
sub isUBD { $_[0]{device} =~ /^ubd/ } #- should be always true during an $::uml_install
sub isLVM { $_[0]{VG_name} || $_[0]{lv_name} }
sub isLUKS { defined $_[0]{dmcrypt_name} }
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index b2f55a013..eef9cb246 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,5 +1,6 @@
- fix detection of /var partition
- force raid metadata to be 0.90 if /boot is on raid 1
+- fix raid 0 to be handled as raid
Version 13.27 - 18 May 2010