summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-06-29 13:40:13 +0000
committerOlivier Blin <oblin@mandriva.com>2009-06-29 13:40:13 +0000
commit3b1aa9e65ae46267fe056db7725662336e976edd (patch)
treec7ac643ccfdc70e9ca0bd03778f8c994f35871b1
parent440078925b8fed7d890755a54c544a9b6c4f9b87 (diff)
downloaddraklive-3b1aa9e65ae46267fe056db7725662336e976edd.tar
draklive-3b1aa9e65ae46267fe056db7725662336e976edd.tar.gz
draklive-3b1aa9e65ae46267fe056db7725662336e976edd.tar.bz2
draklive-3b1aa9e65ae46267fe056db7725662336e976edd.tar.xz
draklive-3b1aa9e65ae46267fe056db7725662336e976edd.zip
bless $live->{oem_rescue}{media}
-rw-r--r--lib/MDV/Draklive/Config.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDV/Draklive/Config.pm b/lib/MDV/Draklive/Config.pm
index 92e78af..3216c4d 100644
--- a/lib/MDV/Draklive/Config.pm
+++ b/lib/MDV/Draklive/Config.pm
@@ -77,7 +77,7 @@ sub complete_config {
$live->{settings}{arch} ||= chomp_(`rpm --eval '%{_target_cpu}'`);
$live->{media}{title} ||= "live";
- foreach ($live->{media}, if_($live->{replicator}{media}, $live->{replicator}{media})) {
+ foreach ($live->{media}, if_($live->{replicator}{media}, $live->{replicator}{media}), if_($live->{oem_rescue}{media}, $live->{oem_rescue}{media})) {
bless $_, 'MDV::Draklive::Media';
$_->{partitions} ||= [ { mntpoint => '/' } ];
}