]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: Create symlinks for packages with different packaged name
authorAndrei Gherzan <andrei@gherzan.ro>
Mon, 23 Jul 2012 21:42:24 +0000 (22:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jul 2012 13:39:48 +0000 (14:39 +0100)
commit76ef414b8a017557cf5f3ad7b3ca8a324f7aad29
tree358137e68078870fa04cb042af6ea60295ab1f1f
parent72a7049526ee107005bd39c7bdd814ed71345829
package.bbclass: Create symlinks for packages with different packaged name

While generating license.manifest package information is searched in:
filename=`ls ${TMPDIR}/pkgdata/*/runtime/${pkg}| head -1`
This is ok as long as package name is the same as the package name
after packaging.
For example dbus is packaged as dbus-1. So, searching
ls ${TMPDIR}/pkgdata/*/runtime/dbus-1 will fail because there is no file
with this package name.

Create a symlink to the pkgdata file in a runtime-reverse directory so
that these reverse lookups are possible.

Fixes [YOCTO #2638].

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/license.bbclass
meta/classes/package.bbclass