diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2017-01-05 17:44:46 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-06 00:01:07 +0000 |
commit | e016eb10b075e280b4e78a04e47b59a173386421 (patch) | |
tree | 7b3237d9dad74d57b2298d12619a129ab64da678 /bitbake/lib/bb | |
parent | 9f6a1043f68580ed9604e750fd0f993f933bb66e (diff) | |
download | poky-e016eb10b075e280b4e78a04e47b59a173386421.tar.gz |
bitbake: bb/cooker: BBCooker stops notifier at shutdown
At end of BBCooker needs to release fd's associated with pyinotify
watchers to avoid: Too many open files (EMFILE) error in different
scenarios like several instances of tinfoil.
[YOCTO #10873]
(Bitbake rev: ae6045b84978940c365c95c33d6996359c3e299d)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 30131fb478..182d0449e6 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1731,6 +1731,8 @@ class BBCooker: | |||
1731 | 1731 | ||
1732 | if self.parser: | 1732 | if self.parser: |
1733 | self.parser.shutdown(clean=not force, force=force) | 1733 | self.parser.shutdown(clean=not force, force=force) |
1734 | self.notifier.stop() | ||
1735 | self.confignotifier.stop() | ||
1734 | 1736 | ||
1735 | def finishcommand(self): | 1737 | def finishcommand(self): |
1736 | self.state = state.initial | 1738 | self.state = state.initial |