diff options
| -rw-r--r-- | meta/recipes-core/glibc/glibc-package.inc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc index 824b185b3a..ff45dfe35a 100644 --- a/meta/recipes-core/glibc/glibc-package.inc +++ b/meta/recipes-core/glibc/glibc-package.inc | |||
| @@ -207,8 +207,11 @@ do_poststash_install_cleanup () { | |||
| 207 | rm -rf ${D}/${localedir} | 207 | rm -rf ${D}/${localedir} |
| 208 | rm -rf ${D}${datadir}/locale | 208 | rm -rf ${D}${datadir}/locale |
| 209 | if [ "${libdir}" != "${exec_prefix}/lib" ]; then | 209 | if [ "${libdir}" != "${exec_prefix}/lib" ]; then |
| 210 | # This dir only exists to hold locales | 210 | if [ -d ${D}${exec_prefix}/lib/locale ] ; then |
| 211 | rm -rf ${D}${exec_prefix}/lib | 211 | rm -rf ${D}${exec_prefix}/lib/locale |
| 212 | # error out if directory isn't empty | ||
| 213 | rm -f ${D}${exec_prefix}/lib | ||
| 214 | fi | ||
| 212 | fi | 215 | fi |
| 213 | } | 216 | } |
| 214 | addtask do_poststash_install_cleanup after do_stash_locale do_install before do_populate_sysroot do_package | 217 | addtask do_poststash_install_cleanup after do_stash_locale do_install before do_populate_sysroot do_package |
