aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Urpmi.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-03-17 23:42:31 +0000
committerPascal Terjan <pterjan@mageia.org>2012-03-17 23:42:31 +0000
commitc2dd485df635e6be732c1623fa7ebf841302340f (patch)
tree59d54956a3b894eccd98ff01b3dbf2a6789ea885 /lib/Iurt/Urpmi.pm
parente5fefd376242c7024cce11b6b2e62749aed53bd9 (diff)
downloadiurt-c2dd485df635e6be732c1623fa7ebf841302340f.tar
iurt-c2dd485df635e6be732c1623fa7ebf841302340f.tar.gz
iurt-c2dd485df635e6be732c1623fa7ebf841302340f.tar.bz2
iurt-c2dd485df635e6be732c1623fa7ebf841302340f.tar.xz
iurt-c2dd485df635e6be732c1623fa7ebf841302340f.zip
Kill unionfs support
Diffstat (limited to 'lib/Iurt/Urpmi.pm')
-rw-r--r--lib/Iurt/Urpmi.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm
index ad8709c..3ec70d3 100644
--- a/lib/Iurt/Urpmi.pm
+++ b/lib/Iurt/Urpmi.pm
@@ -294,7 +294,7 @@ sub get_local_provides {
}
sub get_build_requires {
- my ($self, $union_id, $luser) = @_;
+ my ($self, $luser) = @_;
my $run = $self->{run};
my $config = $self->{config};
my $cache = $run->{cache};
@@ -302,9 +302,8 @@ sub get_build_requires {
$run->{todo_requires} = {};
plog("get_build_requires");
- my ($u_id, $chroot_tmp) = create_temp_chroot($run, $config, $cache, $union_id, $run->{chroot_tmp}, $run->{chroot_tar}) or return;
+ my ($u_id, $chroot_tmp) = create_temp_chroot($run, $config, $cache, $run->{chroot_tmp}, $run->{chroot_tar}) or return;
add_local_user($chroot_tmp, $run, $config, $luser, $run->{uid}) or return;
- $union_id = $u_id;
my $urpm = new URPM;
foreach my $p (@{$run->{todo}}) {
@@ -322,7 +321,7 @@ sub get_build_requires {
}
sub order_packages {
- my ($self, $union_id, $provides, $luser) = @_;
+ my ($self, $provides, $luser) = @_;
my $run = $self->{run};
my @packages = @{$run->{todo}};
my $move;
@@ -330,7 +329,7 @@ sub order_packages {
plog(1, "order_packages");
get_local_provides($self) or return;
if (!$run->{todo_requires}) {
- get_build_requires($self, $union_id, $luser) or return;
+ get_build_requires($self, $luser) or return;
}
my %visit;
my %status;