]> code.ossystems Code Review - openembedded-core.git/commit
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:28:03 +0000 (15:28 +0100)
commit65d7e9b2d4d8115ac9fd513c04f39a2df9556a5a
treeb11dd80827cf2e7f7c496c14abaa579d79548a55
parent988a417c857c01c87de6ba9602968059cf8d830f
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].

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