From 5af33573e3233cde8b3e421a322409b035f18832 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 24 Mar 2012 15:54:07 +0000 Subject: (create_temp_chroot) kill unused arg --- lib/Iurt/Urpmi.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/Iurt/Urpmi.pm') diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index a380bd5..cfdaacc 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -297,12 +297,11 @@ sub get_build_requires { my ($self, $luser) = @_; my $run = $self->{run}; my $config = $self->{config}; - my $cache = $run->{cache}; $run->{todo_requires} = {}; plog("get_build_requires"); - my (undef, $chroot_tmp) = create_temp_chroot($run, $config, $cache, $run->{chroot_tmp}, $run->{chroot_tar}) or return; + my (undef, $chroot_tmp) = create_temp_chroot($run, $config, $run->{chroot_tmp}, $run->{chroot_tar}) or return; add_local_user($chroot_tmp, $run, $config, $luser, $run->{uid}) or return; my $urpm = new URPM; -- cgit v1.2.1