xl2tpd: modify recipes to avoid forced internet access

We should always specify a commit id for git SRCREV or
we will try to access the upstream repo when fetching.

In addition, if our PV is just "git" we will access upstream
when doing archiver functions, so we should specify PV for
xyz_git.bb recipes.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
Joe Slater 2016-01-08 11:57:22 -08:00 committed by Joe MacDonald
parent 21583b8ec4
commit 37edcea5b7
2 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,7 @@
require xl2tpd.inc
SRC_URI = "git://github.com/xelerance/xl2tpd.git;protocol=git;tag=v${PV} \
file://fix-inline-functions-errors-with-gcc-5.x.patch \
"
# The SRCREV corresponds to v1.3.6.
# Adding tag=v1.3.6 to the SRC_URI will force access to the upstream repo.
#
SRCREV = "5619e1771048e74b729804e8602f409af0f3faea"

View File

@ -1,5 +1,8 @@
require xl2tpd.inc
PR = "${INC_PR}.0"
# This is v1.3.6 plus some commits. There is no tag for this commit.
#
PV = "1.3.6+git${SRCPV}"
SRCREV = "a96b345962622ea58490924130675df6db062d11"