]> code.ossystems Code Review - openembedded-core.git/commitdiff
glibc: do_stash_locale must not delete files from ${D}
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Sep 2020 15:34:08 +0000 (16:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Oct 2020 22:12:55 +0000 (23:12 +0100)
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>
meta/recipes-core/glibc/glibc-package.inc

index 5f1ab60dc614e62ce28462919ce9fb34266831cb..f7e4b59a5b8f0ec800b6b20074622886df29bf49 100644 (file)
@@ -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