summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-05-24 09:41:20 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-05-24 09:41:20 +0000
commit00a84d74677a56f9101b97ab2a8dc313577ff194 (patch)
treed9851355a7753036c0b72016047bae0cafec1815 /perl-install
parent7828f84659333d3ce663bf36def8795977d48d42 (diff)
downloaddrakx-00a84d74677a56f9101b97ab2a8dc313577ff194.tar
drakx-00a84d74677a56f9101b97ab2a8dc313577ff194.tar.gz
drakx-00a84d74677a56f9101b97ab2a8dc313577ff194.tar.bz2
drakx-00a84d74677a56f9101b97ab2a8dc313577ff194.tar.xz
drakx-00a84d74677a56f9101b97ab2a8dc313577ff194.zip
allow forcing raid metadata version
Diffstat (limited to 'perl-install')
-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)) {