aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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}}) {