]> code.ossystems Code Review - openembedded-core.git/commit
classes/packageinfo: use better method to check if package exists
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 10 Sep 2012 12:58:10 +0000 (13:58 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Sep 2012 20:52:37 +0000 (21:52 +0100)
commit48169c6bc44c546cecaa06207b6c36da558b81f7
treea36419441d07e9de0a9490301d93a0880d1c6880
parent8d16cbe934291557a26e61266417febcb2e8dfba
classes/packageinfo: use better method to check if package exists

Instead of using a rather error-prone method of looking for output
package files in order to determine if a package got created, use the
.packaged file within pkgdata.

This fixes two separate issues:
* Some packages apparently not being found by this code e.g. all
  apm/apmd packages when using ipk packaging.
* Buggy implementation of this checking code which triggered an
  exception during the event handler if PKGV was overridden on a
  per-package basis (as it is with external-sourcery-toolchain), which
  blocked Hob from completing parsing at 99% - fixes [YOCTO #2651].

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