diff options
-rwxr-xr-x | iurt2 | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -847,6 +847,14 @@ do { if ($run{debug}) { $run{debug}++ == 2 and exit() } $done++; plog('NOTIFY', "Build package $srpm [$done/$to_compile]"); + # When rebuilding all the media, src.rpm can be removed from mirror before we work on them + unless (-f "$dir/$srpm") { + $cache->{failure}{$srpm} = 1; + $run{status}{$srpm} = 'missing'; + dump_cache_par(\%run); + dump_status($local_spool, \%run); + next; + } # FIXME unfortunately urpmi stalls quite often my $retry = 0; |