]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: Drop dubious use of packages[0] from do_split_packages and do_split_...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 May 2012 10:10:33 +0000 (11:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 May 2012 10:23:19 +0000 (11:23 +0100)
commit5d0144fe6bd1febc2d1e651bbcff891c80f20b88
treebaa985cccf719d69781a5f6038bf21bc347d4349
parentec8fbe0d1870285a4a972ddcfe83aa63d720cb80
package.bbclass: Drop dubious use of packages[0] from do_split_packages and do_split_locales

As the comment says, using packages[0] is rather broken and can be incorrect,
as demonstrated by the recent gdk-pixbuf change. Replacing it with PN is
a bit more correct and more likely to do what was originally intended
by this function.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass