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
for/201705
Pau Espin 5 years ago
parent b15b3f943c
commit 686fee5571

@ -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}"

@ -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}"

Loading…
Cancel
Save