]> code.ossystems Code Review - openembedded-core.git/commit
sanity.bbclass: Move sanity_info from conf to cache
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Tue, 7 Jan 2020 22:10:42 +0000 (23:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Jan 2020 21:11:25 +0000 (21:11 +0000)
commitf98103b548aa7dba6b1be6c8e02ef41858a8e85c
treee46a4c3fc4a9b90a67d23eaac18671dc9e4c39a0
parent8e662fced80c98c5495d49c905cc0008cb812589
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.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass
meta/lib/oeqa/buildperf/base.py