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.
This commit is contained in:
Alexandre Bard 2018-11-16 11:58:40 +01:00
parent c51ece98cc
commit 81d05cf8e8
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ PR = "r0"
RDEPENDS_${PN} = "python3-smbus" 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}" SRCREV = "${AUTOREV}"