mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
bitbake.conf/base: Improve handling of SRCPV
If SRCPV is set, it can be expanded when SRC_URI doesn't support it leading to errors. Avoid doing this by setting it only when it makes sense. This patch depends on the bitbake python expansion patch series. [YCOTO #7772] (From OE-Core rev: ce64da2b80f99c82d96513d8dfb5e572757b0cda) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -610,7 +610,8 @@ FETCHCMD_hg = "/usr/bin/env hg"
|
||||
SRCDATE = "${DATE}"
|
||||
SRCREV ??= "INVALID"
|
||||
AUTOREV = "${@bb.fetch2.get_autorev(d)}"
|
||||
SRCPV = "${@bb.fetch2.get_srcrev(d)}"
|
||||
# Set Dynamically in base.bbclass
|
||||
# SRCPV = "${@bb.fetch2.get_srcrev(d)}"
|
||||
SRCPV[vardepvalue] = "${SRCPV}"
|
||||
|
||||
SRC_URI = ""
|
||||
|
||||
Reference in New Issue
Block a user