aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-27 04:17:32 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-27 04:17:32 +0000
commit9399b8e36848729699e1ee269c5296496aaaaa7f (patch)
tree1cbe2aa1b80b9fad9da1a0b274c8d8fb3d9db12f /lib
parent6840f4e552772dfac6596f664f37b375895f19f0 (diff)
downloadiurt-9399b8e36848729699e1ee269c5296496aaaaa7f.tar
iurt-9399b8e36848729699e1ee269c5296496aaaaa7f.tar.gz
iurt-9399b8e36848729699e1ee269c5296496aaaaa7f.tar.bz2
iurt-9399b8e36848729699e1ee269c5296496aaaaa7f.tar.xz
iurt-9399b8e36848729699e1ee269c5296496aaaaa7f.zip
help perl_checker
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Chroot.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index c10b3c3..44f9581 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -7,6 +7,7 @@ use MDK::Common;
use Iurt::Process qw(sudo);
use Iurt::Config qw(dump_cache_par);
use Iurt::Util qw(plog);
+use Iurt::Urpmi;
use File::Temp 'mktemp';
use File::Path 'mkpath';
use urpm;
@@ -395,7 +396,7 @@ sub build_chroot {
sudo($config, '--cp', "/etc/resolv.conf", "$tmp_chroot/etc/");
# install chroot
- my $urpmi = $run->{urpmi};
+ my $urpmi = $run->{urpmi}; # perl_checker: $urpmi = Iurt::Urpmi->new
if ($urpmi->{use__urpmi_root}) {
if (!$urpmi->add_media__urpmi_root($tmp_chroot, $config->{base_media})) {