From 28395e38ea877eb8d4430ff4f6f58f47cacd2059 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 15 Feb 2008 14:11:47 +0000 Subject: (create_temp_chroot) tag srpm parameter as optional since Urpmi::get_build_requires() doesn't provide it --- lib/Iurt/Chroot.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index e0cc74b..82c8412 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -209,7 +209,7 @@ sub add_local_user { } sub create_temp_chroot { - my ($run, $config, $cache, $union_id, $chroot_tmp, $chroot_tar, $srpm) = @_; + my ($run, $config, $cache, $union_id, $chroot_tmp, $chroot_tar, $o_srpm) = @_; my $home = $config->{local_home}; my $debug_tag = $run->{debug_tag}; @@ -243,7 +243,7 @@ sub create_temp_chroot { return; } } - if ($cache->{no_unionfs}{$srpm}) { + if ($cache->{no_unionfs}{$o_srpm}) { $run->{unionfs_tmp} = 0; clean_chroot($chroot_tmp, $chroot_tar, $run, $config); } else { -- cgit v1.2.1