diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-17 17:14:37 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-17 17:14:37 +0000 |
commit | 73bda5b472d388987bc405010b28623c79c53e99 (patch) | |
tree | 03a5968da1390786e1f935106123139eacfe74f6 | |
parent | d28d5040878ad7ad417b76f92684d35dd4c3af79 (diff) | |
download | drakx-73bda5b472d388987bc405010b28623c79c53e99.tar drakx-73bda5b472d388987bc405010b28623c79c53e99.tar.gz drakx-73bda5b472d388987bc405010b28623c79c53e99.tar.bz2 drakx-73bda5b472d388987bc405010b28623c79c53e99.tar.xz drakx-73bda5b472d388987bc405010b28623c79c53e99.zip |
(get_media) log some info
-rw-r--r-- | perl-install/install/media.pm | 3 |
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} |