Re: Pull a single file using git lfs
Quentin Schulz
Hi Andy,
On Wed, Dec 18, 2019 at 10:46:17AM +0000, Andy Pont wrote: Hello,I unfortunately don't have experience with git lfs. I'm thinking about the subpath argument to SRC_URI git fetcher. https://www.yoctoproject.org/docs/current/bitbake-user-manual/bitbake-user-manual.html#git-fetcher ""subpath": Limits the checkout to a specific subpath of the tree. By default, the whole tree is checked out." So maybe by giving the path to the file you'll be able to get it without the whole repo. Provided you're able to get those files with git pull and not git lfs. The other thing could be to use a do_fetch_append() with the call to git lfs in there. I think the git used in that task will be the host one, so you should then have support for git lfs provided you installed it on the build machine. Hopefully I'm not answering with complete non-sense, and giving you some hints on what to test a bit more :) Good luck, Quentin
|
|