[oe-commits] Roy Li : eglibc-locale: Does not create {localedir} if the toolchain has no files under it
git at git.openembedded.org
git at git.openembedded.org
Tue Nov 5 22:04:43 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 168630394b3af47b7a914475865eed17b6a3b1a2
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=168630394b3af47b7a914475865eed17b6a3b1a2
Author: Roy Li <rongqing.li at windriver.com>
Date: Fri Nov 1 15:03:53 2013 +0800
eglibc-locale: Does not create {localedir} if the toolchain has no files under it
This will kill the not shipped Error:
ERROR: QA Issue: eglibc-locale: Files/directories were installed but not shipped
/usr/lib/locale
Signed-off-by: Roy Li <rongqing.li at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/recipes-core/eglibc/eglibc-locale.inc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc
index c3fcc6d..83569da 100644
--- a/meta/recipes-core/eglibc/eglibc-locale.inc
+++ b/meta/recipes-core/eglibc/eglibc-locale.inc
@@ -67,11 +67,12 @@ FILES_localedef = "${bindir}/localedef"
LOCALETREESRC = "${STAGING_INCDIR}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS}"
do_install () {
- mkdir -p ${D}${bindir} ${D}${datadir} ${D}${libdir} ${D}${localedir}
+ mkdir -p ${D}${bindir} ${D}${datadir} ${D}${libdir}
if [ -n "$(ls ${LOCALETREESRC}/${bindir})" ]; then
cp -fpPR ${LOCALETREESRC}/${bindir}/* ${D}${bindir}
fi
if [ -n "$(ls ${LOCALETREESRC}/${localedir})" ]; then
+ mkdir -p ${D}${localedir}
cp -fpPR ${LOCALETREESRC}/${localedir}/* ${D}${localedir}
fi
if [ -e ${LOCALETREESRC}/${libdir}/gconv ]; then
More information about the Openembedded-commits
mailing list