summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-17 17:14:37 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-17 17:14:37 +0000
commit73bda5b472d388987bc405010b28623c79c53e99 (patch)
tree03a5968da1390786e1f935106123139eacfe74f6 /perl-install/install
parentd28d5040878ad7ad417b76f92684d35dd4c3af79 (diff)
downloaddrakx-73bda5b472d388987bc405010b28623c79c53e99.tar
drakx-73bda5b472d388987bc405010b28623c79c53e99.tar.gz
drakx-73bda5b472d388987bc405010b28623c79c53e99.tar.bz2
drakx-73bda5b472d388987bc405010b28623c79c53e99.tar.xz
drakx-73bda5b472d388987bc405010b28623c79c53e99.zip
(get_media) log some info
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/media.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index a01861f05..da0e121ce 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -493,11 +493,14 @@ sub select_only_some_media {
sub get_media {
my ($o, $media, $packages) = @_;
+ use Data::Dumper;
my ($suppl_CDs, $copy_rpms_on_disk, $phys_m);
foreach (@$media) {
if ($_->{type} eq 'media_cfg') {
$phys_m = url2mounted_phys_medium($o, $_->{url}, 'media_info');
+ log::l(Data::Dumper->Dump([ $phys_m ], [ 'phys_m' ]));
+ log::l(Data::Dumper->Dump([ $o->{stage2_phys_medium} ], [ 'stage2_phys_medium' ]));
my $uri = $o->{stage2_phys_medium}{method} eq 'disk' ? _get_medium_dir($phys_m) :
$o->{stage2_phys_medium}{url} =~ m!^(http|ftp)://! && $o->{stage2_phys_medium}{url} ||
$phys_m->{method} =~ m!^(ftp|http)://! && $phys_m->{method}