All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libc-package bbclass: fix binary localedata dependency code
@ 2011-08-02 14:47 Koen Kooi
  2011-08-02 14:55 ` Koen Kooi
  0 siblings, 1 reply; 13+ messages in thread
From: Koen Kooi @ 2011-08-02 14:47 UTC (permalink / raw)
  To: openembedded-core; +Cc: Koen Kooi

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>
---
 meta/classes/libc-package.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
index de57230..67d08c0 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -243,7 +243,7 @@ python package_do_split_gconvs () {
 	def output_locale_binary_rdepends(name, pkgname, locale, encoding):
 		m = re.match("(.*)_(.*)", name)
 		if m:
-			libc_name = "%s.%s" % (m.group(1), m.group(2).lower().replace("-",""))
+			libc_name = "%s-%s" % (m.group(1), m.group(2).lower().replace("-",""))
 		else:
 			libc_name = name
 		bb.data.setVar('RDEPENDS_%s' % pkgname, legitimize_package_name('%s-binary-localedata-%s' \
-- 
1.6.6.1




^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-08-17 15:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-02 14:47 [PATCH] libc-package bbclass: fix binary localedata dependency code Koen Kooi
2011-08-02 14:55 ` Koen Kooi
2011-08-02 15:01   ` Phil Blundell
2011-08-03  6:19     ` Koen Kooi
2011-08-03  6:39       ` Phil Blundell
2011-08-03  7:03         ` Koen Kooi
2011-08-03  7:26           ` Phil Blundell
2011-08-04 22:00       ` Phil Blundell
2011-08-04 22:38         ` Kamble, Nitin A
2011-08-17 15:51         ` Khem Raj
2011-08-10  6:14     ` Koen Kooi
2011-08-12  4:43       ` Kamble, Nitin A
2011-08-17 15:50         ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.