[OE-core] [PATCH] bitbake.conf: add git-lfs to HOSTTOOLS_NONFATAL

Adrian Bunk bunk at stusta.de
Wed Apr 17 09:35:20 UTC 2019


On Wed, Apr 17, 2019 at 09:46:25AM +0100, richard.purdie at linuxfoundation.org wrote:
> On Wed, 2019-04-17 at 10:20 +0800, Saini, Naveen Kumar wrote:
>...
> > Should this be added to HOSTTOOLS instead so lfs files are always
> > fetched for packages that use it?
> 
> No, that would mean everyone has to install it.
> 
> I'm ok with adding it to HOSTTOOLS_NONFATAL as soon as we have some
> mechanism in the fetcher or in recipes which detects lfs usage and hard
> errors if its present but git-lfs is not installed.
> 
> That way its deterministic - it builds with git-lfs installed and
> errors if it is not.

Is it OK that some packages are not buildable at all on supported
distributions?

Your "everyone has to install it" worry misses the much bigger problem 
that git-lfs is a relatively new tool and not available in distributions 
like Debian 9 or Ubuntu 16.04.

> Cheers,
> 
> Richard

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Openembedded-core mailing list