buildpackage: refactor tarball compression
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 14 Jul 2014 07:25:19 +0000 (10:25 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 21 Jul 2014 13:01:49 +0000 (13:01 +0000)
commit37bdee35b8fc66f33dc66c7bc7f048636ceefdd2
tree5a9ab23907fc783f9f1c2acde6bb78a98b2ae3c8
parent2440f0609fc65f8329c6beb73e25fa2fe786c949
buildpackage: refactor tarball compression

Introduce a new function for running the compressor commands. Unifies
exception/error handling - GbpError will be returned if the compressor
fails.

Change-Id: I7d876f01d1855a7b6264f6298a16313045dc6873
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/scripts/common/buildpackage.py