UpstreamSource.pack: support prefix mangling
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 14 Jun 2012 16:30:26 +0000 (19:30 +0300)
committerJun Wang <junbill.wang@samsung.com>
Wed, 27 Jan 2016 09:59:03 +0000 (17:59 +0800)
commit3763ee4e3f0a3160da0c531d534b07c186a74cc0
tree8fd0858e71901d8eb3edd796c11d5e7c974b70a8
parentd0323a07cd9a54058815f73b3e7f9107c74b47fb
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>
Conflicts:
gbp/pkg/__init__.py
gbp/scripts/common/import_orig.py
gbp/pkg/__init__.py
gbp/scripts/common/import_orig.py