aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-10-14 22:41:11 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-10-14 22:41:11 +0200
commitf4aa386cde5cd682eb563463c1a52950bb0e8dc8 (patch)
treecf943359b5b5d14e01a4139f9b247df217e2a413 /lib/Iurt
parent85cf2a54399e6ca5c128cc56776e76673b21f31d (diff)
downloadiurt-f4aa386cde5cd682eb563463c1a52950bb0e8dc8.tar
iurt-f4aa386cde5cd682eb563463c1a52950bb0e8dc8.tar.gz
iurt-f4aa386cde5cd682eb563463c1a52950bb0e8dc8.tar.bz2
iurt-f4aa386cde5cd682eb563463c1a52950bb0e8dc8.tar.xz
iurt-f4aa386cde5cd682eb563463c1a52950bb0e8dc8.zip
kill useless argument
Diffstat (limited to 'lib/Iurt')
-rw-r--r--lib/Iurt/Chroot.pm2
-rw-r--r--lib/Iurt/Urpmi.pm2
2 files changed, 2 insertions, 2 deletions
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}}) {