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>
"<param name='revision'>%s</param>" \
"<param name='url'>%s</param>" \
"<param name='git-meta'>_git-meta</param>" \
+ "<param name='error-pkg'>2</param>" \
"</service></services>" % \
(git_revision, os.path.join(git_url, git_project))
fname = '_service'