From cfb95284dbded6944196596c7cb22377ac24200a Mon Sep 17 00:00:00 2001 From: mshakeel Date: Thu, 20 Sep 2012 19:08:05 +0500 Subject: [PATCH] external-sourcery-toolchain.bb : copy locale from /lib if not present in /lib64 Note from kergoth: this is a temporary build fix, likely not an ideal fix for the underlying problem. Signed-off-by: Muhammad Shakeel --- recipes/meta/external-sourcery-toolchain.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes/meta/external-sourcery-toolchain.bb b/recipes/meta/external-sourcery-toolchain.bb index 294c5ff..be5b87b 100644 --- a/recipes/meta/external-sourcery-toolchain.bb +++ b/recipes/meta/external-sourcery-toolchain.bb @@ -42,6 +42,11 @@ do_install() { cp -a $usr_path ${D}/usr/ done + # Copy locale directory if not already present in libdir + if [ ! -d ${D}${libdir}/locale ]; then + cp -a $sysroot/usr/lib/locale ${D}${libdir} + fi + for datadir_element in man info; do datadir_path=$sysroot/usr/$datadir_element if [ -e $datadir_path ]; then