From 81d05cf8e87d3ddb34e71fee26db15a091d7eea3 Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Fri, 16 Nov 2018 11:58:40 +0100 Subject: [PATCH] battery-test: Always use master branch Using ${MACHINE} directly in the recipe is problematic when building recipes for MACHINE for which there is no branch on the battery-test repo. Even if the recipe is not used, bitbake will fail while before doing anything during the parsing step. Workaround would be to overwrite this SRC_URI in machine.conf file. --- recipes-core/battery-test/battery-test_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/battery-test/battery-test_git.bb b/recipes-core/battery-test/battery-test_git.bb index 498d428..3c43c49 100644 --- a/recipes-core/battery-test/battery-test_git.bb +++ b/recipes-core/battery-test/battery-test_git.bb @@ -8,7 +8,7 @@ PR = "r0" RDEPENDS_${PN} = "python3-smbus" -SRC_URI = "git://git.netmodule.intranet/nm-tools/smart-battery.git;protocol=ssh;user=gitea;branch=${MACHINE} " +SRC_URI = "git://git.netmodule.intranet/nm-tools/smart-battery.git;protocol=ssh;user=gitea;branch=master " SRCREV = "${AUTOREV}"