From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Srqsl-0005LS-Vn for openembedded-core@lists.openembedded.org; Thu, 19 Jul 2012 15:35:08 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q6JDNjl5002544 for ; Thu, 19 Jul 2012 14:23:45 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02518-01 for ; Thu, 19 Jul 2012 14:23:41 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q6JDNbVL002538 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 19 Jul 2012 14:23:38 +0100 Message-ID: <1342704221.7940.10.camel@ted> From: Richard Purdie To: openembedded-core Date: Thu, 19 Jul 2012 14:23:41 +0100 X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Subject: [PATCH] eglibc-package.inc: Remove duplicate locale install X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2012 13:35:08 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Both eglibc-locale and eglibc were installing locale files into the sysroot. Whilst this is in general harmless, its a waste of diskspace/time so this moves the responsibility to the eglibc-locale package. No PR bump this this is really a cleanup and doesn't affect build output, the sstate size reduction will happen next time it is rebuilt. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc index 119b443..af78456 100644 --- a/meta/recipes-core/eglibc/eglibc-package.inc +++ b/meta/recipes-core/eglibc/eglibc-package.inc @@ -105,6 +105,7 @@ do_install_locale () { mv ${D}${datadir}/i18n ${dest}${datadir} fi cp -fpPR ${D}${datadir}/* ${dest}${datadir} + rm -rf ${D}${datadir}/locale/ cp -fpPR ${WORKDIR}/SUPPORTED ${dest} }