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

Bach, Pascal pascal.bach at siemens.com
Wed Apr 17 09:57:50 UTC 2019


> > > 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.
So from a yocto point of view you only need to create one recipe with everything inside. Have a look at the dependency of the Debian package of git-lfs [1] they are very minimal.

I havent' tried but maybe devtool might produce something useful very quickly.

Pascal

[1] https://packages.debian.org/sid/git-lfs



More information about the Openembedded-core mailing list