aboutsummaryrefslogtreecommitdiffstats
path: root/iurt
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2020-11-29 22:39:05 +0000
committerPascal Terjan <pterjan@mageia.org>2020-11-29 22:39:05 +0000
commit8eec3c57d960494cef6939db304a45e72f19b58d (patch)
tree9f00da7781dc996eb5cc0d93205637c4bd482f60 /iurt
parent797b073cdfdd428a165a08e6ab40524061182612 (diff)
downloadiurt-8eec3c57d960494cef6939db304a45e72f19b58d.tar
iurt-8eec3c57d960494cef6939db304a45e72f19b58d.tar.gz
iurt-8eec3c57d960494cef6939db304a45e72f19b58d.tar.bz2
iurt-8eec3c57d960494cef6939db304a45e72f19b58d.tar.xz
iurt-8eec3c57d960494cef6939db304a45e72f19b58d.zip
Always use urpmi --urpmi-root
Diffstat (limited to 'iurt')
-rwxr-xr-xiurt4
1 files changed, 1 insertions, 3 deletions
diff --git a/iurt b/iurt
index f8b27cb..faa4ac2 100755
--- a/iurt
+++ b/iurt
@@ -132,7 +132,7 @@ $run{todo} = [];
sub { my ($tmp, @media) = @_; $tmp->[0]{media} = \@media; 1 }, "Limiting rebuild to the kernel in the given media regexp"],
] , "[options] <media prefix>",
"Create urpmi media inside the chroot instead of using --root (media prefix is like http:///server.mandriva.com/dis/)",
- sub { my ($opt, $media) = @_; $opt->{rooted_media} = $media; $run{chrooted_urpmi} = $opt; 1 }, "Activating chroot media" ],
+ sub { my ($opt, $media) = @_; $run{chrooted_urpmi} = $opt; 1 }, "Activating chroot media" ],
[ "", "clean-all", 0, "",
"Clean all remaining chroots for all the users",
sub { $run{clean_all} = 1 }, "Activating clean chroot flag" ],
@@ -725,8 +725,6 @@ sub rebuild_one {
my $retry = 0;
retry:
- $urpmi->clean_urpmi_process;
-
my ($srpm_name) = $srpm =~ /(?:.*:)?(.*)-[^-]+-[^-]+\.src\.rpm$/;
$srpm_name or return $srpm;