From 73bda5b472d388987bc405010b28623c79c53e99 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 17 Mar 2009 17:14:37 +0000 Subject: (get_media) log some info --- perl-install/install/media.pm | 3 +++ 1 file changed, 3 insertions(+) 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} -- cgit v1.2.1