Unfortunately, there are other files in the same directory that can’t be checked out. Looking at that documentation, I have added the “nocheckout=1” option to the git definition in SRC_URI which is stopping the initial pull.
When I try to add any git commands into a do_fetch_append() then it dumps a load of Python looking stuff on the screen that ends with:
File "autogenerated", line 4
git lfs checkout build/filename
SyntaxError: invalid syntax