diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-09 17:06:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-09 22:28:29 +0100 |
commit | 8ffe6ca984e034976322beea9b16c92d46708d15 (patch) | |
tree | 8e6ef9f8f519a967f68132bee97239ceeb817bd5 /scripts/gen-lockedsig-cache | |
parent | b6abf7c201f7c9668bdf3c6e87c7dbc70c6427f9 (diff) | |
download | openembedded-core-contrib-8ffe6ca984e034976322beea9b16c92d46708d15.tar.gz |
scripts/gen-lockedsig-cache: Don't list paths which don't exist
This avoids failures seen on the autobuilder when generating eSDKs
and release sstate copies.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/gen-lockedsig-cache')
-rwxr-xr-x | scripts/gen-lockedsig-cache | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gen-lockedsig-cache b/scripts/gen-lockedsig-cache index 48cb67112f..9bfae9d832 100755 --- a/scripts/gen-lockedsig-cache +++ b/scripts/gen-lockedsig-cache @@ -24,6 +24,8 @@ def extract_sha(filename): # a map from hash to list of file with that hash def map_sha_to_files(dir_, prefix, sha_map): sstate_prefix_path = dir_ + '/' + prefix + '/' + if not os.path.exists(sstate_prefix_path): + return sstate_files = os.listdir(sstate_prefix_path) for f in sstate_files: try: |