summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oe/sstatesig.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index acff2a0569..d58147f78f 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -125,7 +125,10 @@ def find_siginfo(pn, taskname, taskhashlist, d):
125 foundall = True 125 foundall = True
126 break 126 break
127 else: 127 else:
128 filedates[fullpath] = os.stat(fullpath).st_mtime 128 try:
129 filedates[fullpath] = os.stat(fullpath).st_mtime
130 except OSError:
131 continue
129 132
130 if not taskhashlist or (len(filedates) < 2 and not foundall): 133 if not taskhashlist or (len(filedates) < 2 and not foundall):
131 # That didn't work, look in sstate-cache 134 # That didn't work, look in sstate-cache
@@ -156,7 +159,10 @@ def find_siginfo(pn, taskname, taskhashlist, d):
156 if taskhashlist: 159 if taskhashlist:
157 hashfiles[hashval] = fullpath 160 hashfiles[hashval] = fullpath
158 else: 161 else:
159 filedates[fullpath] = os.stat(fullpath).st_mtime 162 try:
163 filedates[fullpath] = os.stat(fullpath).st_mtime
164 except:
165 continue
160 166
161 if taskhashlist: 167 if taskhashlist:
162 return hashfiles 168 return hashfiles