UpstreamSource.pack: support prefix mangling
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 14 Jun 2012 16:30:26 +0000 (19:30 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 14 Nov 2014 12:22:07 +0000 (14:22 +0200)
commit6bfdaeb3e98c4183c190e6f04d472d035622e6ca
tree0f2baca1d6b1593bd47ccf530473220342645c78
parenta5707c5c48379b5575091148eb7fde3f8c5d18bc
UpstreamSource.pack: support prefix mangling

Add support for changing the prefix directory inside the tarball that is
generated. Also, fixes a bug that caused a "prefix-less" tarball to get
one, if unpacked and then repacked.

Also, adds this support to repack_source() in common/import_orig.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/command_wrappers.py
gbp/pkg/__init__.py
gbp/scripts/common/import_orig.py
tests/06_test_upstream_source.py