diff options
author | Roy Li <rongqing.li@windriver.com> | 2013-11-01 15:03:53 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-11-04 10:01:17 -0800 |
commit | 168630394b3af47b7a914475865eed17b6a3b1a2 (patch) | |
tree | 70ff572dea865fec294b0775c61ed0ed21c6072d /meta/recipes-core/eglibc/eglibc-locale.inc | |
parent | cd4ed41a070bd52c446ac3df8337f17ab9421145 (diff) | |
download | openembedded-core-168630394b3af47b7a914475865eed17b6a3b1a2.tar.gz openembedded-core-168630394b3af47b7a914475865eed17b6a3b1a2.tar.bz2 openembedded-core-168630394b3af47b7a914475865eed17b6a3b1a2.zip |
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@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-locale.inc')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-locale.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc index c3fcc6d749..83569da73a 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 |