aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-15 14:11:47 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-15 14:11:47 +0000
commit28395e38ea877eb8d4430ff4f6f58f47cacd2059 (patch)
tree42875bf20c459e612634525054cdeb494985f8a8 /lib
parent899fd8e71e77cbfdbd8bd7dad4c1822a488b5c27 (diff)
downloadiurt-28395e38ea877eb8d4430ff4f6f58f47cacd2059.tar
iurt-28395e38ea877eb8d4430ff4f6f58f47cacd2059.tar.gz
iurt-28395e38ea877eb8d4430ff4f6f58f47cacd2059.tar.bz2
iurt-28395e38ea877eb8d4430ff4f6f58f47cacd2059.tar.xz
iurt-28395e38ea877eb8d4430ff4f6f58f47cacd2059.zip
(create_temp_chroot) tag srpm parameter as optional since
Urpmi::get_build_requires() doesn't provide it
Diffstat (limited to 'lib')
-rw-r--r--lib/Iurt/Chroot.pm4
1 files 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 {