diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-01-19 10:32:11 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-19 14:31:21 +0000 |
commit | 255d4bbf4d1e430d45f5fafb7d1c77d9ea67e174 (patch) | |
tree | cb7260c4ccc0281f8831e6c0d7812a7ffa5f5262 /meta/classes/qemu.bbclass | |
parent | 15ad5d2c0e92fefdbb7c0cf064134b1cabfd84ac (diff) | |
download | openembedded-core-255d4bbf4d1e430d45f5fafb7d1c77d9ea67e174.tar.gz openembedded-core-255d4bbf4d1e430d45f5fafb7d1c77d9ea67e174.tar.bz2 openembedded-core-255d4bbf4d1e430d45f5fafb7d1c77d9ea67e174.tar.xz openembedded-core-255d4bbf4d1e430d45f5fafb7d1c77d9ea67e174.zip |
buildhistory_analysis: improve field handling robustness
Avoid errors when comparing changes for KEY = value files (package info
files and image-info.txt):
* Handle keys appearing and disappearing - this will help to handle PE
in package info files (which is only written when it is not blank) and
when we add additional fields in future.
* Handle when old value is 0 for numeric field (avoid division by zero)
* Report when numeric field was empty or missing rather than 0 (but
still treat it as 0 for comparison purposes)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/qemu.bbclass')
0 files changed, 0 insertions, 0 deletions