]> code.ossystems Code Review - openembedded-core.git/commit
libc-package bbclass: fix binary localedata dependency code
authorKoen Kooi <koen@dominion.thruhere.net>
Wed, 24 Aug 2011 18:32:00 +0000 (20:32 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Aug 2011 02:23:32 +0000 (19:23 -0700)
commit19fb07bf337e1d724798e2eb4479c35fc45b1941
tree0c478e86728a200bbb252814c73a003e2d485439
parent332f2a9febfc3697ed4a20fca3016e0399ae90eb
libc-package bbclass: fix binary localedata dependency code

When using binary locales rootfs generation fails with:

| Unknown package 'locale-base-en-us'.
| Collected errors:
|  * opkg_install_cmd: Cannot install package locale-base-en-us.

This is due to:

$ dpkg-deb -I ipk/armv7a/locale-base-en-us_2.12-r16_armv7a.ipk | grep Depends
 Depends: eglibc-binary-localedata-en.us

Note the '.' seperator

$ ls ipk/armv7a/ | grep binary-localedata-en | grep us
eglibc-binary-localedata-en-us_2.12-r16_armv7a.ipk

Note the '-' seperator vs the '.' in the locale-base packages.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/libc-package.bbclass