diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-08-02 10:23:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 15:28:27 +0100 |
commit | 3ec608462e4cb1eb77b6addbae1bda84fd76e4d2 (patch) | |
tree | 5ef7fd1a2b03dfbf4961f66833c4ea721ee32a36 /meta/lib/oe/buildhistory_analysis.py | |
parent | 67a4d15f0a8032190e92026677150162a492a053 (diff) | |
download | openembedded-core-3ec608462e4cb1eb77b6addbae1bda84fd76e4d2.tar.gz openembedded-core-3ec608462e4cb1eb77b6addbae1bda84fd76e4d2.tar.bz2 openembedded-core-3ec608462e4cb1eb77b6addbae1bda84fd76e4d2.zip |
buildhistory_analysis: ignore removal of self-dependencies
The recent removal of self-dependencies for dbg/dev packages produced
a fair amount of noise, so filter it out since we know this is a
reasonable change.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/buildhistory_analysis.py')
-rw-r--r-- | meta/lib/oe/buildhistory_analysis.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/lib/oe/buildhistory_analysis.py b/meta/lib/oe/buildhistory_analysis.py index a1a04085c2..a5da7d9944 100644 --- a/meta/lib/oe/buildhistory_analysis.py +++ b/meta/lib/oe/buildhistory_analysis.py @@ -286,8 +286,9 @@ def compare_dict_blobs(path, ablob, bblob, report_all): adict = blob_to_dict(ablob) bdict = blob_to_dict(bblob) + pkgname = os.path.basename(path) defaultvals = {} - defaultvals['PKG'] = os.path.basename(path) + defaultvals['PKG'] = pkgname defaultvals['PKGE'] = adict.get('PE', '0') defaultvals['PKGV'] = adict.get('PV', '') defaultvals['PKGR'] = adict.get('PR', '') @@ -320,6 +321,9 @@ def compare_dict_blobs(path, ablob, bblob, report_all): alist.sort() blist = bstr.split() blist.sort() + # We don't care about the removal of self-dependencies + if pkgname in alist and not pkgname in blist: + alist.remove(pkgname) if ' '.join(alist) == ' '.join(blist): continue |