aboutsummaryrefslogtreecommitdiffstats
path: root/iurt
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2017-10-03 19:13:31 +0100
committerPascal Terjan <pterjan@mageia.org>2017-10-03 21:05:27 +0100
commitd1912e0070731c7458df36ec1dc4ccd64f47b42e (patch)
treee65101b86880c269605f6fa7d42fa9f2d7e4559d /iurt
parent8c6472680bbc28bd7e64570a70043d7a3d6ea7c3 (diff)
downloadiurt-d1912e0070731c7458df36ec1dc4ccd64f47b42e.tar
iurt-d1912e0070731c7458df36ec1dc4ccd64f47b42e.tar.gz
iurt-d1912e0070731c7458df36ec1dc4ccd64f47b42e.tar.bz2
iurt-d1912e0070731c7458df36ec1dc4ccd64f47b42e.tar.xz
iurt-d1912e0070731c7458df36ec1dc4ccd64f47b42e.zip
Kill most of $cache
Diffstat (limited to 'iurt')
-rwxr-xr-xiurt9
1 files changed, 3 insertions, 6 deletions
diff --git a/iurt b/iurt
index bdb7f4a..8888c9d 100755
--- a/iurt
+++ b/iurt
@@ -595,10 +595,7 @@ if (!-d "$local_spool/log") {
$run{local_spool} = $local_spool;
my $cache = {
- rpm_srpm => {},
queue => {},
- warning => {},
- run => 1,
};
$run{cache} = $cache;
@@ -831,7 +828,7 @@ retry:
# system("$sudo chroot $chroot_tmp rpm --rebuilddb &> /dev/null");
perform_command("rpm --root $chroot_tmp -qa | sort",
- \%run, $config, $cache,
+ \%run, $config,
logname => "rpm_qa",
hash => "rpm_qa_$srpm",
timeout => 60,
@@ -852,7 +849,7 @@ retry:
}
if (!perform_command(qq(chroot $chroot_tmp /bin/su - $luser -c "TMP=/home/$luser/tmp/ $icecream $command"),
- \%run, $config, $cache,
+ \%run, $config,
use_iurt_root_command => 1,
mail => $maintainer,
error => "[REBUILD] $srpm from $run{distro_tag} does not build correctly on $run{my_arch}",
@@ -1042,7 +1039,7 @@ process_queue($config, \%run, \@wrong_rpm);
plog('FAIL', "ERROR: RPM with a wrong SRPM name") if @wrong_rpm;
if (@wrong_rpm && open my $file, ">$local_spool/log/wrong_srpm_names.log") {
foreach (@wrong_rpm) {
- print $file "$_->[1] -> $_->[0] (", $cache->{rpm_srpm}{$_->[1]}, ")\n";
+ print $file "$_->[1] -> $_->[0]\n";
}
}