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

Adrian Bunk bunk at stusta.de
Wed Apr 17 10:25:07 UTC 2019


On Wed, Apr 17, 2019 at 09:57:50AM +0000, Bach, Pascal wrote:
> > > > 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.
> > >
> > > Someone could certainly write a native recipe for lfs and add that as
> > > a dependency which would also solve this problem. I'd be quite happy
> > > to see that and it would neatly solve the problems.
> > 
> > This was also my first thought.
> > 
> > It stops being neat once you realize that it requires packaging a 3 digit
> > number of Go libraries.
> 
> I don't think that's how go packaging works. Go usually statically links everything at compile time and bundles the sources with modules.

It is not really static linking, it is more like the "libraries" being 
source files instead of compiled code.

> So from a yocto point of view you only need to create one recipe with everything inside.

Fetching from 100 different git repositories would be plenty of
work to setup and to maintain, no matter how many recipes you use.

Certainly not impossible, but I wouldn't call this neat.

>...
> Pascal
>...

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