On Sun, 2021-07-04 at 04:21 -0700, Vinay Kumar wrote:
> Added condition to check "$cleanupdir${datadir}" exists.
> 
> Signed-off-by: Vinay Kumar <vinay.m.e...@gmail.com>
> ---
>  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


I had a look into this issue in more detail and you're right, if you 
bitbake the recipe it does indeed fail. The reason it doesn't fail 
everywhere in testing is that it is excluded from world builds.
Since there is no do_install task, the do_populate_sysroot task
is also pointless. I've sent a patch just to delete the task.

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#153638): 
https://lists.openembedded.org/g/openembedded-core/message/153638
Mute This Topic: https://lists.openembedded.org/mt/83976017/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to