summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
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:14:25 +0100
commit2e75c084f2cfe7617de3b9a4b006caa3fee687a6 (patch)
tree7cc98a60e50740aebb480c2f59e22fa58f88bd96 /meta/recipes-core
parent97946fb3952e01cc6c671e07a75f48313d0c4d4c (diff)
downloadpoky-2e75c084f2cfe7617de3b9a4b006caa3fee687a6.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. (From OE-Core rev: f18817f5340d06f7b4bb846a83b48731a1b9c4bc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-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 () {
192 fi 192 fi
193 193
194 cp -fpPR ${D}${datadir}/* $dest${datadir} 194 cp -fpPR ${D}${datadir}/* $dest${datadir}
195 rm -rf ${D}${datadir}/locale/
196 cp -fpPR ${WORKDIR}/SUPPORTED $dest 195 cp -fpPR ${WORKDIR}/SUPPORTED $dest
197 196
198 target=$dest/scripts 197 target=$dest/scripts