diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-02-25 17:14:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-02-25 17:14:58 +0000 |
commit | c369fef374176fe49d4938c035d89e26035d3c65 (patch) | |
tree | 05d124a080c0ae587ebe93efee9cc80f4348e596 /iurt2 | |
parent | 1be4143fc7be0404b6e60ba393a2f87c73f7c7b1 (diff) | |
download | iurt-c369fef374176fe49d4938c035d89e26035d3c65.tar iurt-c369fef374176fe49d4938c035d89e26035d3c65.tar.gz iurt-c369fef374176fe49d4938c035d89e26035d3c65.tar.bz2 iurt-c369fef374176fe49d4938c035d89e26035d3c65.tar.xz iurt-c369fef374176fe49d4938c035d89e26035d3c65.zip |
catch chroot creation failures
(see eg http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20120225155856.tv.valstar.5624/log/botcmd.1330185537.ecosse.log)
Diffstat (limited to 'iurt2')
-rwxr-xr-x | iurt2 | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -867,7 +867,10 @@ retry: $union_id = $u_id; } - $urpmi->urpmi_command($chroot_tmp, $luser); + if (!$urpmi->urpmi_command($chroot_tmp, $luser)) { + plog('DEBUG', "Creating chroot failed.\nCommand was: $chroot_tmp"); + next; + }; $srpm =~ /(.*)-[^-]+-[^-]+\.src\.rpm$/ or next; my ($maintainer, $cc); if (!$run{warn}) { |