summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc-locale.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/glibc/glibc-locale.inc')
-rw-r--r--meta/recipes-core/glibc/glibc-locale.inc13
1 files changed, 6 insertions, 7 deletions
diff --git a/meta/recipes-core/glibc/glibc-locale.inc b/meta/recipes-core/glibc/glibc-locale.inc
index b3cb10b87a..e50e5cf5e3 100644
--- a/meta/recipes-core/glibc/glibc-locale.inc
+++ b/meta/recipes-core/glibc/glibc-locale.inc
@@ -74,23 +74,22 @@ LOCALETREESRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale"
74do_install () { 74do_install () {
75 mkdir -p ${D}${bindir} ${D}${datadir} ${D}${libdir} 75 mkdir -p ${D}${bindir} ${D}${datadir} ${D}${libdir}
76 if [ -n "$(ls ${LOCALETREESRC}/${bindir})" ]; then 76 if [ -n "$(ls ${LOCALETREESRC}/${bindir})" ]; then
77 cp -fpPR ${LOCALETREESRC}/${bindir}/* ${D}${bindir} 77 cp -R --no-dereference --preserve=mode,links ${LOCALETREESRC}/${bindir}/* ${D}${bindir}
78 fi 78 fi
79 if [ -n "$(ls ${LOCALETREESRC}/${localedir})" ]; then 79 if [ -n "$(ls ${LOCALETREESRC}/${localedir})" ]; then
80 mkdir -p ${D}${localedir} 80 mkdir -p ${D}${localedir}
81 cp -fpPR ${LOCALETREESRC}/${localedir}/* ${D}${localedir} 81 cp -R --no-dereference --preserve=mode,links ${LOCALETREESRC}/${localedir}/* ${D}${localedir}
82 fi 82 fi
83 if [ -e ${LOCALETREESRC}/${libdir}/gconv ]; then 83 if [ -e ${LOCALETREESRC}/${libdir}/gconv ]; then
84 cp -fpPR ${LOCALETREESRC}/${libdir}/gconv ${D}${libdir} 84 cp -R --no-dereference --preserve=mode,links ${LOCALETREESRC}/${libdir}/gconv ${D}${libdir}
85 fi 85 fi
86 if [ -e ${LOCALETREESRC}/${datadir}/i18n ]; then 86 if [ -e ${LOCALETREESRC}/${datadir}/i18n ]; then
87 cp -fpPR ${LOCALETREESRC}/${datadir}/i18n ${D}${datadir} 87 cp -R --no-dereference --preserve=mode,links ${LOCALETREESRC}/${datadir}/i18n ${D}${datadir}
88 fi 88 fi
89 if [ -e ${LOCALETREESRC}/${datadir}/locale ]; then 89 if [ -e ${LOCALETREESRC}/${datadir}/locale ]; then
90 cp -fpPR ${LOCALETREESRC}/${datadir}/locale ${D}${datadir} 90 cp -R --no-dereference --preserve=mode,links ${LOCALETREESRC}/${datadir}/locale ${D}${datadir}
91 fi 91 fi
92 chown root:root -R ${D} 92 cp -R --no-dereference --preserve=mode,links ${LOCALETREESRC}/SUPPORTED ${WORKDIR}
93 cp -fpPR ${LOCALETREESRC}/SUPPORTED ${WORKDIR}
94} 93}
95 94
96inherit libc-package 95inherit libc-package