From f4aa386cde5cd682eb563463c1a52950bb0e8dc8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 14 Oct 2016 22:41:11 +0200 Subject: kill useless argument --- lib/Iurt/Chroot.pm | 2 +- lib/Iurt/Urpmi.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Iurt') diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index 43a9ceb..0efc3fa 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -166,7 +166,7 @@ sub dump_rpmmacros { } sub add_local_user { - my ($chroot_tmp, $run, $config, $luser, $uid) = @_; + my ($chroot_tmp, $config, $luser, $uid) = @_; # change the builder user to the local user id # FIXME it seems that unionfs does not handle well the change of the diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index 67e5730..64be2ea 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -295,7 +295,7 @@ sub get_build_requires { plog("get_build_requires"); 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; + add_local_user($chroot_tmp, $config, $luser, $run->{uid}) or return; my $urpm = URPM->new; foreach my $p (@{$run->{todo}}) { -- cgit v1.2.1