I got th following error while building meta-sysmocom-bsp in my
ArchLinux setup, probably due to using a newer git version.
ExpansionError: Failure expanding variable REPOGITFN,
expression was ${@get_repo_gitfn(d, '.../system-images/git/meta-sysmocom-bsp/recipes-support/lc15-sysdev-remap/files', '')
REPOGITFN is expanded using function get_repo_gitfn in
gitver-repo.bbclass, which ends up calling:
git -C .../system-images/git/meta-sysmocom-bsp/recipes-support/lc15-sysdev-remap/files rev-list --count HEAD ''
fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths