aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-06-03 23:31:59 +1200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-06-12 11:33:08 +1200
commit5a38b686a2b762019513b05bf18bed3187be3ca4 (patch)
tree69110cbe7e08bfa008319a0970d2e04e33735718
parent18d8267da31be567254ec552c5c91fd1f7867f34 (diff)
downloadopenembedded-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.py2
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: