summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc-package.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-30 16:34:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-06 23:12:55 +0100
commitf18817f5340d06f7b4bb846a83b48731a1b9c4bc (patch)
treee2e02afd796d1ac5f102c8b0b7a02a63e1d8b69d /meta/recipes-core/glibc/glibc-package.inc
parent797faa735887bb5687eeca7af5d320d530e5238e (diff)
downloadopenembedded-core-contrib-f18817f5340d06f7b4bb846a83b48731a1b9c4bc.tar.gz
glibc: do_stash_locale must not delete files from ${D}
do_stash_locale doesn't run in fakeroot context, do_install does. We therefore shouldn't delete files that do_install has added or it leaves potentially problemtic entries in the fakeroot database. Leaving the files around doesn't change or break anything else. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc-package.inc')
-rw-r--r--meta/recipes-core/glibc/glibc-package.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc
index 5f1ab60dc6..f7e4b59a5b 100644
--- a/meta/recipes-core/glibc/glibc-package.inc
+++ b/meta/recipes-core/glibc/glibc-package.inc
@@ -192,7 +192,6 @@ do_stash_locale () {
fi
cp -fpPR ${D}${datadir}/* $dest${datadir}
- rm -rf ${D}${datadir}/locale/
cp -fpPR ${WORKDIR}/SUPPORTED $dest
target=$dest/scripts