]> code.ossystems Code Review - openembedded-core.git/commit
classes/buildhistory: avoid buildhistory triggering rebuilds (again)
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 11 Feb 2014 16:10:11 +0000 (16:10 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2014 17:13:23 +0000 (17:13 +0000)
commit953df67eb877a6d0fc68d122964440a9a47de3c3
treef7bc5070ed99292986b813b19bed0065ae369cd5
parent10c7a45af7085b0442adc495112fed3b9d0f1d3e
classes/buildhistory: avoid buildhistory triggering rebuilds (again)

Postfuncs are now incorporated into task signatures as of BitBake
rev b84d010144de687667cf855ddcb41c9b863c236e, so we need to exclude
the one we're adding to do_fetch. The change to the SSTATEPOSTINSTFUNCS
variable value was also entering the signatures of do_populate_sysroot
and probably other tasks, so we need to use a slightly hacky trick to
avoid that as well.

Apart from the final do_rootfs / do_populate_sysroot, this now means
that adding and removing INHERIT += "buildhistory" will not cause tasks
to be re-run.

Also update the copyright date, properly this time.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildhistory.bbclass