diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-29 13:04:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-29 14:27:44 +0100 |
commit | 1a3a76e4652b95b640c287cb3672ccc146b023ca (patch) | |
tree | ea8ee18ed6be747877780c44562ede6e083291ed /meta/classes/libc-package.bbclass | |
parent | dd090729dad1e7788c9d9eac111d9207bae60fe0 (diff) | |
download | openembedded-core-1a3a76e4652b95b640c287cb3672ccc146b023ca.tar.gz openembedded-core-1a3a76e4652b95b640c287cb3672ccc146b023ca.tar.bz2 openembedded-core-1a3a76e4652b95b640c287cb3672ccc146b023ca.tar.xz openembedded-core-1a3a76e4652b95b640c287cb3672ccc146b023ca.zip |
libc-locale: Fixup various packaging warnings
After the recent locale changes there were warnings about many unpackaged files.
Fix this by directing libc-package.bbclass to operate directly on the files in
the sysroot and adding packaging for .debug files in this package.
Also sync up the eglibc and glibc versions of this code more closely.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/libc-package.bbclass')
-rw-r--r-- | meta/classes/libc-package.bbclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index 4bc58c8e5..ff92afb17 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass @@ -80,21 +80,22 @@ rm -rf ${TMP_LOCALE} TMP_LOCALE="/tmp/locale${libdir}/locale" +LOCALETREESRC ?= "{PKGD}" do_prep_locale_tree() { treedir=${WORKDIR}/locale-tree rm -rf $treedir mkdir -p $treedir/${base_bindir} $treedir/${base_libdir} $treedir/${datadir} $treedir/${libdir}/locale - tar -cf - -C ${PKGD}${datadir} -ps i18n | tar -xf - -C $treedir/${datadir} + tar -cf - -C ${LOCALETREESRC}${datadir} -ps i18n | tar -xf - -C $treedir/${datadir} # unzip to avoid parsing errors for i in $treedir/${datadir}/i18n/charmaps/*gz; do gunzip $i done - tar -cf - -C ${PKGD}${base_libdir} -ps . | tar -xf - -C $treedir/${base_libdir} + tar -cf - -C ${LOCALETREESRC}${base_libdir} -ps . | tar -xf - -C $treedir/${base_libdir} if [ -f ${STAGING_DIR_NATIVE}${prefix_native}/lib/libgcc_s.* ]; then tar -cf - -C ${STAGING_DIR_NATIVE}/${prefix_native}/${base_libdir} -ps libgcc_s.* | tar -xf - -C $treedir/${base_libdir} fi - install -m 0755 ${PKGD}${bindir}/localedef $treedir/${base_bindir} + install -m 0755 ${LOCALETREESRC}${bindir}/localedef $treedir/${base_bindir} } do_collect_bins_from_locale_tree() { |