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:34:33 +0000 |
commit | 5cf28333a7fce346f743fd053dd992dda6bb8fba (patch) | |
tree | 87f3a2467b3174ccad5e5f31a0e1fa91b730474b /meta/recipes-extended/hdparm | |
parent | c1cebf6a2ba4661e8e46842413eef9a69a49fd47 (diff) | |
download | poky-5cf28333a7fce346f743fd053dd992dda6bb8fba.tar.gz |
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)
(From OE-Core rev: 255d4bbf4d1e430d45f5fafb7d1c77d9ea67e174)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/hdparm')
0 files changed, 0 insertions, 0 deletions