diff options
author | Roy Li <rongqing.li@windriver.com> | 2013-11-01 15:03:53 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-05 22:04:28 +0000 |
commit | ef942e3abdfa822271efd7c0f629829a80132fe5 (patch) | |
tree | bbeb06106653a9bb36920c177ef41dc423cc2811 /meta/recipes-core/eglibc | |
parent | 19aeca1cac9bed7851dd7ee45156d6024ab54498 (diff) | |
download | poky-ef942e3abdfa822271efd7c0f629829a80132fe5.tar.gz |
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
(From OE-Core rev: 168630394b3af47b7a914475865eed17b6a3b1a2)
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc')
-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" | |||
67 | LOCALETREESRC = "${STAGING_INCDIR}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS}" | 67 | LOCALETREESRC = "${STAGING_INCDIR}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS}" |
68 | 68 | ||
69 | do_install () { | 69 | do_install () { |
70 | mkdir -p ${D}${bindir} ${D}${datadir} ${D}${libdir} ${D}${localedir} | 70 | mkdir -p ${D}${bindir} ${D}${datadir} ${D}${libdir} |
71 | if [ -n "$(ls ${LOCALETREESRC}/${bindir})" ]; then | 71 | if [ -n "$(ls ${LOCALETREESRC}/${bindir})" ]; then |
72 | cp -fpPR ${LOCALETREESRC}/${bindir}/* ${D}${bindir} | 72 | cp -fpPR ${LOCALETREESRC}/${bindir}/* ${D}${bindir} |
73 | fi | 73 | fi |
74 | if [ -n "$(ls ${LOCALETREESRC}/${localedir})" ]; then | 74 | if [ -n "$(ls ${LOCALETREESRC}/${localedir})" ]; then |
75 | mkdir -p ${D}${localedir} | ||
75 | cp -fpPR ${LOCALETREESRC}/${localedir}/* ${D}${localedir} | 76 | cp -fpPR ${LOCALETREESRC}/${localedir}/* ${D}${localedir} |
76 | fi | 77 | fi |
77 | if [ -e ${LOCALETREESRC}/${libdir}/gconv ]; then | 78 | if [ -e ${LOCALETREESRC}/${libdir}/gconv ]; then |