]> 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)
committerArmin Kuster <akuster808@gmail.com>
Sat, 25 Jan 2020 16:37:48 +0000 (08:37 -0800)
commita63d59f64a2d1f450a7639426cae8e0373a2d764
treeb54eb2c46ee35d840f7a70eceadd7aa943f8be16
parent9b92d5fbfdcf48a17efdd8c1edda4ad26def017f
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>
(cherry picked from commit f98103b548aa7dba6b1be6c8e02ef41858a8e85c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/sanity.bbclass
meta/lib/oeqa/buildperf/base.py