diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2020-01-07 23:10:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-28 11:51:03 +0000 |
commit | afc2ffee1a41ad4e662f912f8430f1b3a9dba555 (patch) | |
tree | fdfac61831bab4e21ca6bec413e2611bea921e9c /meta/lib | |
parent | 2071b7caf2d28952e42451c3e1c984a2d04a3ba1 (diff) | |
download | poky-afc2ffee1a41ad4e662f912f8430f1b3a9dba555.tar.gz |
sanity.bbclass: Move sanity_info from conf to cache
Since this file is written during recipe parsing, having it in the
${BUILDDIR}/conf directory, which is covered by an inotify watcher,
will trigger a re-parse the next time bitbake is run and the resident
bitbake server is enabled. This causes the sanity_info file to be
updated again, which triggers a new parse the next time bitbake is run
ad infinitum. Moving it to ${BUILDDIR}/cache should avoid this.
(From OE-Core rev: f1a609e7176a37e7e5f86f0b786f7da915085f83)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f98103b548aa7dba6b1be6c8e02ef41858a8e85c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/buildperf/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py index 3b2fed549f..5f1805d86c 100644 --- a/meta/lib/oeqa/buildperf/base.py +++ b/meta/lib/oeqa/buildperf/base.py | |||
@@ -462,7 +462,7 @@ class BuildPerfTestCase(unittest.TestCase): | |||
462 | def rm_tmp(self): | 462 | def rm_tmp(self): |
463 | """Cleanup temporary/intermediate files and directories""" | 463 | """Cleanup temporary/intermediate files and directories""" |
464 | log.debug("Removing temporary and cache files") | 464 | log.debug("Removing temporary and cache files") |
465 | for name in ['bitbake.lock', 'conf/sanity_info', | 465 | for name in ['bitbake.lock', 'cache/sanity_info', |
466 | self.bb_vars['TMPDIR']]: | 466 | self.bb_vars['TMPDIR']]: |
467 | oe.path.remove(name, recurse=True) | 467 | oe.path.remove(name, recurse=True) |
468 | 468 | ||