All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] libc-package bbclass: fix binary localedata dependency code
@ 2011-08-24 18:32 Koen Kooi
  2011-08-24 18:32 ` [PATCH 2/2] tcl: fix networking breakage Koen Kooi
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Koen Kooi @ 2011-08-24 18:32 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 0d5ce20..d3b33d6 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] 15+ messages in thread

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

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-24 18:32 [PATCH 1/2] libc-package bbclass: fix binary localedata dependency code Koen Kooi
2011-08-24 18:32 ` [PATCH 2/2] tcl: fix networking breakage Koen Kooi
2011-08-24 18:36   ` Saul Wold
2011-08-24 19:45     ` Koen Kooi
2011-08-25  2:26 ` [PATCH 1/2] libc-package bbclass: fix binary localedata dependency code Richard Purdie
2011-08-25  9:24 ` Phil Blundell
2011-08-25 14:58   ` Richard Purdie
2011-08-26 14:12     ` Phil Blundell
2011-08-26 14:54       ` Koen Kooi
2011-08-26 15:26       ` Koen Kooi
2011-08-26 15:30         ` Phil Blundell
2011-08-26 16:31           ` Koen Kooi
2011-08-30  9:26             ` Phil Blundell
2011-08-31 13:47               ` Koen Kooi
2011-08-31 17:05               ` Richard Purdie

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.