diff options
author | Tom Rini <trini@embeddedalley.com> | 2009-02-18 16:30:33 -0500 |
---|---|---|
committer | Tom Rini <trini@embeddedalley.com> | 2009-02-18 16:30:33 -0500 |
commit | d7a5542cad50e809045534e369798edd341d8a77 (patch) | |
tree | 05debb5e65ef98d704aebc3d9fbdefcac31aa4d6 /packages/eglibc/eglibc-package.bbclass | |
parent | 9b2a4dfecb95dc077b3464f9fb0691e08e28791b (diff) |
eglibc: Rework the glibc compat packages logic again.
We needed to use legitimize_package_name on our locale string. So
we just take the eglibc package name that's been legitimized and change
it from 'eglibc...' to 'glibc...'
Diffstat (limited to 'packages/eglibc/eglibc-package.bbclass')
-rw-r--r-- | packages/eglibc/eglibc-package.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/eglibc/eglibc-package.bbclass b/packages/eglibc/eglibc-package.bbclass index 74c9b739fb..7fcb558399 100644 --- a/packages/eglibc/eglibc-package.bbclass +++ b/packages/eglibc/eglibc-package.bbclass @@ -207,7 +207,7 @@ python package_do_split_gconvs () { f.close() if deps != []: bb.data.setVar('RDEPENDS_%s' % pkg, " ".join(deps), d) - bb.data.setVar('RPROVIDES_%s' % pkg, 'glibc-gconv-%s' % group.lower(), d) + bb.data.setVar('RPROVIDES_%s' % pkg, pkg.replace('eglibc', 'glibc'), d) do_split_packages(d, gconv_libdir, file_regex='^(.*)\.so$', output_pattern='eglibc-gconv-%s', description='gconv module for character set %s', hook=calc_gconv_deps, extra_depends='eglibc-gconv') @@ -225,7 +225,7 @@ python package_do_split_gconvs () { f.close() if deps != []: bb.data.setVar('RDEPENDS_%s' % pkg, " ".join(deps), d) - bb.data.setVar('RPROVIDES_%s' % pkg, 'glibc-charmap-%s' % group.lower(), d) + bb.data.setVar('RPROVIDES_%s' % pkg, pkg.replace('eglibc', 'glibc'), d) do_split_packages(d, charmap_dir, file_regex='^(.*)\.gz$', output_pattern='eglibc-charmap-%s', description='character map for %s encoding', hook=calc_charmap_deps, extra_depends='') @@ -243,7 +243,7 @@ python package_do_split_gconvs () { f.close() if deps != []: bb.data.setVar('RDEPENDS_%s' % pkg, " ".join(deps), d) - bb.data.setVar('RPROVIDES_%s' % pkg, 'glibc-localedata-%s' % group.lower(), d) + bb.data.setVar('RPROVIDES_%s' % pkg, pkg.replace('eglibc', 'glibc'), d) do_split_packages(d, locales_dir, file_regex='(.*)', output_pattern='eglibc-localedata-%s', description='locale definition for %s', hook=calc_locale_deps, extra_depends='') bb.data.setVar('PACKAGES', bb.data.getVar('PACKAGES', d) + ' eglibc-gconv', d) |