# HG changeset patch # User Christophe Lincoln # Date 1337692550 -7200 # Node ID 98e7fe8d84f0c725e59473197ece7e95a6559331 # Parent 91a6e8662cd7848bf8cd18f2ff1f1b9493b63a3e glibc-base: improve ARM package, add more libs diff -r 91a6e8662cd7 -r 98e7fe8d84f0 glibc-base/receipt --- a/glibc-base/receipt Tue May 22 14:21:52 2012 +0200 +++ b/glibc-base/receipt Tue May 22 15:15:50 2012 +0200 @@ -32,13 +32,16 @@ # 20120514: Include just minal libs for Busybox so we can create # bootable Qemu image for ARM. echo "Using cross compiled Glibc..." - mkdir -p $fs/lib $fs/etc $fs/usr/bin install=/usr/cross/$ARCH + mkdir -p $fs/lib $fs/etc $fs/usr/bin \ + $fs/usr/lib/gconv $fs/usr/share/i18n/charmaps + # /usr/bin for bin in locale localedef do cp $install/bin/$bin $fs/usr/bin done - for lib in libcrypt libm libc + # /lib + for lib in libcrypt libm libc libresolv librt libutil libpthread do cp -a $install/lib/${lib}-*.so $fs/lib cp -a $install/lib/${lib}.so* $fs/lib @@ -48,13 +51,10 @@ cp -a $install/lib/libc_nonshared.a $fs/lib cp $install/etc/rpc $fs/etc touch $fs/etc/ld.so.conf - ## i18n - #mkdir -p $fs/usr/share/i18n/locales - #for i in $DEFAULT_LOCALE - #do - #cp $install/share/i18n/locales/$i \ - #$fs/usr/share/i18n/locales - #done + # i18n + cp $install/lib/gconv/UNICODE.so $fs/usr/lib/gconv + #cp -a $install/share/i18n/charmaps/UTF-8.gz \ + #$fs/usr/share/i18n/charmaps # Fix libraries search path sed -i s'|/usr/cross/arm||'g $fs/lib/libc.so ;; *)