From b85fd33e7d54644f18b418a142bfd6b15e31d1c3 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 15 Oct 2021 12:54:35 +0100 Subject: sstate: Fixes for eSDK generation after zstd switch (From OE-Core rev: f5a90df08631117cd66bec68cb1851db96822bb8) Signed-off-by: Richard Purdie --- scripts/gen-lockedsig-cache | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/gen-lockedsig-cache b/scripts/gen-lockedsig-cache index cd8f9a4356..cc674f9c1b 100755 --- a/scripts/gen-lockedsig-cache +++ b/scripts/gen-lockedsig-cache @@ -94,8 +94,7 @@ print("Gathering file list took %.1fs" % elapsed) print('Processing files') for f in files: sys.stdout.write('Processing %s... ' % f) - _, ext = os.path.splitext(f) - if not ext in ['.tgz', '.siginfo', '.sig']: + if not f.endswith(('.tar.zst', '.siginfo', '.sig')): # Most likely a temp file, skip it print('skipping') continue -- cgit v1.2.3-54-g00ecf