lc15: Fix parse error: expansion of REPOGITFN

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
This commit is contained in:
Pau Espin 2018-08-07 13:44:34 +02:00
parent b15b3f943c
commit 686fee5571
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ REPOFILE = "linux-litecell15_4.4.32.bb"
PR := "r${REPOGITFN}"
REPODIR = "${THISDIR}/files"
REPOFILE = ""
REPOFILE = "."
PR := "${PR}.${REPOGITFN}"
PV = "4.4.32+git${SRCPV}"

View File

@ -20,7 +20,7 @@ REPOFILE = "lc15-sysdev-remap_1.0.bb"
PR := "r${REPOGITFN}"
REPODIR = "${THISDIR}/files"
REPOFILE = ""
REPOFILE = "."
PR := "${PR}.${REPOGITFN}"
SYSTEMD_PACKAGES = "${PN}"