diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-06-03 23:31:59 +1200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-06-12 11:33:08 +1200 |
commit | 5a38b686a2b762019513b05bf18bed3187be3ca4 (patch) | |
tree | 69110cbe7e08bfa008319a0970d2e04e33735718 | |
parent | 18d8267da31be567254ec552c5c91fd1f7867f34 (diff) | |
download | openembedded-core-contrib-5a38b686a2b762019513b05bf18bed3187be3ca4.tar.gz |
bulkchange: drop temp paths in multi-patch tarball
We were getting temporary paths appearing in the tarball that gets
created to allow you to download the patches for a bulk change operation
that crosses multiple layers - we don't need those.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r-- | layerindex/bulkchange.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layerindex/bulkchange.py b/layerindex/bulkchange.py index c569b61fb4..08d6d78138 100644 --- a/layerindex/bulkchange.py +++ b/layerindex/bulkchange.py @@ -70,7 +70,7 @@ def generate_patches(tinfoil, fetchdir, changeset, outputdir): tar = tarfile.open(None, "w:gz", tmptarfile) for patch in patches: patchfn = os.path.join(tmpoutdir, patch) - tar.add(patchfn) + tar.add(patchfn, arcname=patch) tar.close() ret = tmptarname elif len(patches) == 1: |