diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-04-12 21:16:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-13 23:49:28 +0100 |
commit | db61a66dbab8f3eccdefdc42a4e59887d28995ca (patch) | |
tree | 39af85c8d1c775a61c6e79dcabaeb81ad8b2965c /meta/site/mipsel-linux | |
parent | b9dde37eb5c76a8a058f1ec5183e644515ab1c4e (diff) | |
download | poky-db61a66dbab8f3eccdefdc42a4e59887d28995ca.tar.gz |
classes/sanity: fix handling of bblayers.conf updating
Fix the fairly long-standing problem of treating a newer bblayers.conf
in the same manner as an older one (reporting that it had been updated
even if nothing was done). The recent work to do a reparse without
having to manually re-run bitbake turned this from an annoyance into an
endless loop, so it had to be fixed.
As part of fixing this the following changes have been made:
* Extensions are now implemented using a function list, so distro layers
can add their own functions which should either succeed (indicating
they have successfully updated the file) or raise an exception
(indicating nothing could be done). The functions are called in
succession until one succeeds, at which point we reparse.
* If we can't do the update, the error message now says "older/newer"
instead of just "older" since we only know the version is different.
(From OE-Core rev: 46b00fdfc9d1e3dc180de087bae2682a1baa2954)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site/mipsel-linux')
0 files changed, 0 insertions, 0 deletions