summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/raid.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index cb3e46d64..5d5559541 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,6 +1,7 @@
- display_release_notes.pl: don't use ::isInstall to position the release not
window on top of everything (doesn't work on the Ones), use
any::set_wm_hints_if_needed instead (#59155)
+- allow forcing raid metadata version
Version 13.28 - 19 May 2010
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index 82905449e..d9cb6a83d 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -140,6 +140,7 @@ sub make {
'--chunk=' . $part->{'chunk-size'},
"--level=$part->{level}",
"--raid-devices=$nb",
+ if_($part->{'metadata'}, "--metadata=$part->{'metadata'}"),
map { devices::make($_->{device}) } @{$part->{disks}});
if (my $raw_part = get_md_info($dev)) {