diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-08 15:38:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-18 12:13:12 +0100 |
commit | d38f055593404e6395300e37ae54ee5a4edada97 (patch) | |
tree | 7deb65c90b11de3b52fc65d357a49b99edf3ee43 | |
parent | 8b6e9b8df9a6a21d7a1b088f5a3239a7a3d6107b (diff) | |
download | poky-d38f055593404e6395300e37ae54ee5a4edada97.tar.gz |
libc-package: Drop bogus replacement operation
The names used to generate the binary-localdata packages need to match the location
the dependencies are added. In one case the dash replacement is made, in the other it
is not leading to packages which cannot be installed:
eglibc-binary-localedata-af-za.iso88591 is needed by locale-base-af-za.iso-8859-1-2.16-r22.i586
eglibc-binary-localedata-cs-cz.iso88592 is needed by locale-base-cs-cz.iso-8859-2-2.16-r22.i586
eglibc-binary-localedata-ru-ru.koi8r is needed by locale-base-ru-ru.koi8-r-2.16-r22.i586
eglibc-binary-localedata-pl-pl.iso88592 is needed by locale-base-pl-pl.iso-8859-2-2.16-r22.i586
eglibc-binary-localedata-hu-hu.iso88592 is needed by locale-base-hu-hu.iso-8859-2-2.16-r22.i586
eglibc-binary-localedata-de-at+euro.iso885915 is needed by locale-base-de-at+euro.iso-8859-15-2.16-r22.i586
eglibc-binary-localedata-sv-fi.iso88591 is needed by locale-base-sv-fi.iso-8859-1-2.16-r22.i586
This fixes things so the names are consistent.
(From OE-Core rev: 17e1bfe2b1260add9749b5ff73c72d57c0215fdc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | 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 80d7124002..3a131540f3 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass | |||
@@ -246,7 +246,7 @@ python package_do_split_gconvs () { | |||
246 | def output_locale_binary_rdepends(name, pkgname, locale, encoding): | 246 | def output_locale_binary_rdepends(name, pkgname, locale, encoding): |
247 | m = re.match("(.*)\.(.*)", name) | 247 | m = re.match("(.*)\.(.*)", name) |
248 | if m: | 248 | if m: |
249 | libc_name = "%s.%s" % (m.group(1), m.group(2).lower().replace("-","")) | 249 | libc_name = "%s.%s" % (m.group(1), m.group(2).lower()) |
250 | else: | 250 | else: |
251 | libc_name = name | 251 | libc_name = name |
252 | d.setVar('RDEPENDS_%s' % pkgname, legitimize_package_name('%s-binary-localedata-%s' \ | 252 | d.setVar('RDEPENDS_%s' % pkgname, legitimize_package_name('%s-binary-localedata-%s' \ |