mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
sstate: Fixes for eSDK generation after zstd switch
(From OE-Core rev: f5a90df08631117cd66bec68cb1851db96822bb8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
652fdf8719
commit
b85fd33e7d
|
@ -550,7 +550,7 @@ python copy_buildsystem () {
|
||||||
# We don't need sstate do_package files
|
# We don't need sstate do_package files
|
||||||
for root, dirs, files in os.walk(sstate_out):
|
for root, dirs, files in os.walk(sstate_out):
|
||||||
for name in files:
|
for name in files:
|
||||||
if name.endswith("_package.tgz"):
|
if name.endswith("_package.tar.zst"):
|
||||||
f = os.path.join(root, name)
|
f = os.path.join(root, name)
|
||||||
os.remove(f)
|
os.remove(f)
|
||||||
|
|
||||||
|
|
|
@ -94,8 +94,7 @@ print("Gathering file list took %.1fs" % elapsed)
|
||||||
print('Processing files')
|
print('Processing files')
|
||||||
for f in files:
|
for f in files:
|
||||||
sys.stdout.write('Processing %s... ' % f)
|
sys.stdout.write('Processing %s... ' % f)
|
||||||
_, ext = os.path.splitext(f)
|
if not f.endswith(('.tar.zst', '.siginfo', '.sig')):
|
||||||
if not ext in ['.tgz', '.siginfo', '.sig']:
|
|
||||||
# Most likely a temp file, skip it
|
# Most likely a temp file, skip it
|
||||||
print('skipping')
|
print('skipping')
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue
Block a user