mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +02:00
bitbake: fetcher2/__init__: Print command in case of ExecutionError in runfetchcmd
(Bitbake rev: df7f4897c463a48c45514e2bcbd44cc7f86c4bb0) Signed-off-by: Mario Domenech Goulart <mario.goulart@bmw-carit.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
729d9fcb54
commit
24905d3c2d
@@ -832,7 +832,7 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None):
|
|||||||
output = "output:\n%s" % e.stderr
|
output = "output:\n%s" % e.stderr
|
||||||
else:
|
else:
|
||||||
output = "no output"
|
output = "no output"
|
||||||
error_message = "Fetch command failed with exit code %s, %s" % (e.exitcode, output)
|
error_message = "Fetch command %s failed with exit code %s, %s" % (e.command, e.exitcode, output)
|
||||||
except bb.process.CmdError as e:
|
except bb.process.CmdError as e:
|
||||||
error_message = "Fetch command %s could not be run:\n%s" % (e.command, e.msg)
|
error_message = "Fetch command %s could not be run:\n%s" % (e.command, e.msg)
|
||||||
if not success:
|
if not success:
|
||||||
|
|||||||
Reference in New Issue
Block a user