gbs-service: enable 'error-pkg' parameter
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 7 Jul 2014 08:11:09 +0000 (11:11 +0300)
committerLin A Yang <lin.a.yang@intel.com>
Fri, 11 Jul 2014 06:52:16 +0000 (09:52 +0300)
commit530770f6f4ac924e816ba9fe2029175e29487a31
tree5d5030bd9ef379b591ef5d32a1587205681dd17e
parent7ea25706c277bb630279af0db97f107cde581a2c
gbs-service: enable 'error-pkg' parameter

Enable the the generation of a special "error package" (instead of a
service error) in case of gbs export failures.

Only catches service return value 2, i.e. "normal" gbs export failures.
Internal service errors (1) and gbs crashes (3) still cause a service
error as these can be considered as bugs and we want to catch these.

Change-Id: Ied7bc8010351026e047e368be97bb71a9da3ee1e
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
common/upload_service.py