classes/buildhistory: record PKG/PKGE/PKGV/PKGR
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 2 Aug 2012 09:23:05 +0000 (10:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Aug 2012 14:29:46 +0000 (15:29 +0100)
commitb3d613e5cb39dd2f6a7915518624ba176ff993c4
treec01cdcd4c37a434454d3ace7284d533dd655a79e
parentcfee1b1b8524badda269d608ab83192e7e05e02a
classes/buildhistory: record PKG/PKGE/PKGV/PKGR

Save PKG (the actual output package name, which is often different due
to debian renaming), and PKGE/PKGV/PKGR (which may be manipulated in
certain special cases e.g. gitpkgv.bbclass in meta-oe, the
external-sourcery-toolchain recipe, etc.) Note that these are only
written when they are different from the normal package name in the
case of PKG, or PE/PV/PR for the other variables.

Also, use PKGE/PKGV/PKGR instead of PE/PV/PR when comparing package
versions since these actually represent the version that the package
manager sees.

Implements [YOCTO #2787].

(From OE-Core rev: 65d7e9b2d4d8115ac9fd513c04f39a2df9556a5a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildhistory.bbclass
meta/lib/oe/buildhistory_analysis.py