summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-14 09:41:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-14 09:50:31 +0100
commitdb82b42cdde211c67e7affb9da3b20b2514a714a (patch)
tree26291df4159720a1420f21e411baf3305e1d2518 /meta/conf
parent25af7f6ed1d8e416a26716d63d99020a87e114ea (diff)
downloadpoky-db82b42cdde211c67e7affb9da3b20b2514a714a.tar.gz
bitbake.conf: Assign SRCPV so that it will be tracked correcting in the sstate checksum
Currently, SRCPV is just listed as having a value of ${@bb.fetch2.get_srcrev(d)} which isn't helpful. This can mean that if PV changes, two recipes can have the same sstate checksum despite having different PV values since the PV value itself isn't tracked anywhere. Adding this line means that the real PV value is expanded and recorded in the sstate checksum, meaning the sstate packages no longer overlap. This is critical in ensuring consistent builds for revipes using SRCPV. (From OE-Core rev: a9fffadec4fb60547257cb3d7496b6e39ed07be8) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 1d4a83dc8d..9c51630e0b 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -588,6 +588,7 @@ SRCDATE = "${DATE}"
588SRCREV ??= "INVALID" 588SRCREV ??= "INVALID"
589AUTOREV = "${@bb.fetch2.get_autorev(d)}" 589AUTOREV = "${@bb.fetch2.get_autorev(d)}"
590SRCPV = "${@bb.fetch2.get_srcrev(d)}" 590SRCPV = "${@bb.fetch2.get_srcrev(d)}"
591SRCPV[vardepvalue] = "${SRCPV}"
591 592
592SRC_URI = "" 593SRC_URI = ""
593 594