This looks like a workaround that does not fix the actual issue. Can you please look into what is causing the failure, if it is reproducible reliably, and at which point it regressed?
Alex Alex On Sun, 4 Jul 2021 at 13:22, Vinay Kumar <[email protected]> wrote: > Added condition to check "$cleanupdir${datadir}" exists. > > Signed-off-by: Vinay Kumar <[email protected]> > --- > meta/recipes-core/glibc/glibc-package.inc | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/recipes-core/glibc/glibc-package.inc > b/meta/recipes-core/glibc/glibc-package.inc > index 92e5dbac61..df3f612192 100644 > --- a/meta/recipes-core/glibc/glibc-package.inc > +++ b/meta/recipes-core/glibc/glibc-package.inc > @@ -230,7 +230,9 @@ stash_locale_cleanup () { > rm -rf $cleanupdir${libdir}/gconv > rm -rf $cleanupdir${localedir} > rm -rf $cleanupdir${datadir}/locale > + if [ -d $cleanupdir${datadir} ]; then > rmdir --ignore-fail-on-non-empty $cleanupdir${datadir} > + fi; > > if [ "${libdir}" != "${exec_prefix}/lib" ] && [ > "${root_prefix}/lib" != "${exec_prefix}/lib" ]; then > if [ -d "$cleanupdir${exec_prefix}/lib" ]; then > -- > 2.31.1 > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#153546): https://lists.openembedded.org/g/openembedded-core/message/153546 Mute This Topic: https://lists.openembedded.org/mt/83976017/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
