bitbake: build.py: avoid deleting taint files when writing stamps
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 21 Feb 2013 15:23:35 +0000 (15:23 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Feb 2013 13:22:39 +0000 (05:22 -0800)
commit0e0756cf884eecf3497a2020d169d0de49e3283a
tree335df234d1515f3af93b3b1c8dcd943dc98fd200
parentdc69709dfb49e7d408619a57617cefbe802c8da0
bitbake: build.py: avoid deleting taint files when writing stamps

The stamp cleaning process that occurs before writing out new stamps for
a task was deleting taint files as well. This resulted in tasks that
were forcibly re-executed using the -f or -C command line options to
have their previous output restored from shared state when called upon a
second time, because the taint value was no longer incorporated into the
task signature and thus it was reverting to its previous value. This
also affected the kernel menuconfig command in OE-Core.

Note that the taint file *is* still deleted when doing -c clean, which
is the desired behaviour.

Fixes [YOCTO #3919].

(Bitbake rev: e6db0ee31178d4386802e720d75303ec7dc21519)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/build.py