From a22a3fe0bb8fbdc7b4fd6e3cb40dd5a37723f527 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Thu, 8 Nov 2012 22:02:14 -0700 Subject: [PATCH] external-sourcery-toolchain: kill ${exec_prefix}/lib/locale in do_install_locale As do_install_locale already copied these into the sysroot to be picked up by eglibc-locale, there's no reason to keep the files around for ourselves. Note: this should go into the oe-core eglibc-package.inc. Signed-off-by: Christopher Larson --- recipes/meta/external-sourcery-toolchain.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes/meta/external-sourcery-toolchain.bb b/recipes/meta/external-sourcery-toolchain.bb index 9519854..ae13e90 100644 --- a/recipes/meta/external-sourcery-toolchain.bb +++ b/recipes/meta/external-sourcery-toolchain.bb @@ -79,6 +79,12 @@ do_install() { create_multilib_link ${D} } +# These files are picked up out of the sysroot by eglibc-locale, so we don't +# need to keep them around ourselves. +do_install_locale_append() { + rm -fr ${D}${exec_prefix}/lib/locale +} + def sysroot_multilib_suffix(d): PATH = d.getVar('PATH', True) cmd = '${CC} -print-sysroot | sed -e "s,^${STAGING_DIR_HOST},,; s,^/,,"'