From 686fee5571c89561b51de9c0d3d9a5b17671c10d Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 7 Aug 2018 13:44:34 +0200 Subject: [PATCH] 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 --- recipes-bsp/linux/linux-litecell15_4.4.32.bb | 2 +- recipes-support/lc15-sysdev-remap/lc15-sysdev-remap_1.0.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/linux/linux-litecell15_4.4.32.bb b/recipes-bsp/linux/linux-litecell15_4.4.32.bb index 9b225f7..0d0189f 100644 --- a/recipes-bsp/linux/linux-litecell15_4.4.32.bb +++ b/recipes-bsp/linux/linux-litecell15_4.4.32.bb @@ -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}" diff --git a/recipes-support/lc15-sysdev-remap/lc15-sysdev-remap_1.0.bb b/recipes-support/lc15-sysdev-remap/lc15-sysdev-remap_1.0.bb index c836917..b8809a4 100644 --- a/recipes-support/lc15-sysdev-remap/lc15-sysdev-remap_1.0.bb +++ b/recipes-support/lc15-sysdev-remap/lc15-sysdev-remap_1.0.bb @@ -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}"