summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index aca9470607..5e5708ee2b 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -252,6 +252,10 @@ class BBCooker:
252 signal.signal(signal.SIGHUP, self.sigterm_exception) 252 signal.signal(signal.SIGHUP, self.sigterm_exception)
253 253
254 def config_notifications(self, event): 254 def config_notifications(self, event):
255 if event.maskname == "IN_Q_OVERFLOW":
256 bb.warn("inotify event queue overflowed, invalidating caches.")
257 self.baseconfig_valid = False
258 return
255 if not event.pathname in self.configwatcher.bbwatchedfiles: 259 if not event.pathname in self.configwatcher.bbwatchedfiles:
256 return 260 return
257 if not event.pathname in self.inotify_modified_files: 261 if not event.pathname in self.inotify_modified_files:
@@ -259,6 +263,10 @@ class BBCooker:
259 self.baseconfig_valid = False 263 self.baseconfig_valid = False
260 264
261 def notifications(self, event): 265 def notifications(self, event):
266 if event.maskname == "IN_Q_OVERFLOW":
267 bb.warn("inotify event queue overflowed, invalidating caches.")
268 self.parsecache_valid = False
269 return
262 if not event.pathname in self.inotify_modified_files: 270 if not event.pathname in self.inotify_modified_files:
263 self.inotify_modified_files.append(event.pathname) 271 self.inotify_modified_files.append(event.pathname)
264 self.parsecache_valid = False 272 self.parsecache_valid = False