mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
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>
This commit is contained in:
parent
18d8267da3
commit
5a38b686a2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user