kubernetes: add SRCREV_FORMAT

recipes that use multiple SCMs in the SRC_URI, must supply
SRCREV_FORMAT or SRCPV triggers an expansion error. While
this isn't fatal during the build, it can cause issues with
setscene (and possibly) other tasks failing, which then
leads to no sstate re-use, etc.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2021-10-19 23:18:11 -04:00
parent 3b01e362b3
commit 02ee2b38d4

View File

@ -8,6 +8,7 @@ maintenance, and scaling of applications. \
PV = "v1.20.9+git${SRCREV_kubernetes}" PV = "v1.20.9+git${SRCREV_kubernetes}"
SRCREV_kubernetes = "7a576bc3935a6b555e33346fd73ad77c925e9e4a" SRCREV_kubernetes = "7a576bc3935a6b555e33346fd73ad77c925e9e4a"
SRCREV_kubernetes-release = "cf1e18a801c2ec6cc8c3d3b83bf1cbc4cf0dbc53" SRCREV_kubernetes-release = "cf1e18a801c2ec6cc8c3d3b83bf1cbc4cf0dbc53"
SRCREV_FORMAT ?= "kubernetes_release"
SRC_URI = "git://github.com/kubernetes/kubernetes.git;branch=release-1.20;name=kubernetes \ SRC_URI = "git://github.com/kubernetes/kubernetes.git;branch=release-1.20;name=kubernetes \
git://github.com/kubernetes/release;branch=master;name=kubernetes-release;destsuffix=git/release \ git://github.com/kubernetes/release;branch=master;name=kubernetes-release;destsuffix=git/release \