]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
data: Account for pre/postfunc functions when calculating dependencies
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Feb 2014 16:09:32 +0000 (16:09 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Feb 2014 22:03:28 +0000 (22:03 +0000)
commitb84d010144de687667cf855ddcb41c9b863c236e
treec62350bb4518c660d369a7189911d5a471d67fb6
parentb1628b1a260ddf43fc9985535b1ddcfcebbb1e5b
data: Account for pre/postfunc functions when calculating dependencies

pre/postfuncs were not being added to checksums. This meant that when reconfiguration
occurred, tasks were not always being rerun when they should. This include
sstate functions as well as systemd's do_install function in the OE metadata.

With the addition of postfuncs, its possible a shell task can have a python
pre/postfunc so we have to guard against this when generating shell output
in emit_func.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/data.py