cni: 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 89b1a89d9e
commit 36cdef7c5f

View File

@ -12,6 +12,7 @@ is simple to implement. \
SRCREV_cni = "b5ab16f010e822936eb974690ecec38ba69afc01" SRCREV_cni = "b5ab16f010e822936eb974690ecec38ba69afc01"
# Version 0.9.1 # Version 0.9.1
SRCREV_plugins = "78702e9d8a2cdb6931fab433f1d1e6789162954f" SRCREV_plugins = "78702e9d8a2cdb6931fab433f1d1e6789162954f"
SRCREV_FORMAT = "cni_plugins"
SRC_URI = "\ SRC_URI = "\
git://github.com/containernetworking/cni.git;nobranch=1;name=cni \ git://github.com/containernetworking/cni.git;nobranch=1;name=cni \
git://github.com/containernetworking/plugins.git;nobranch=1;destsuffix=${S}/src/github.com/containernetworking/plugins;name=plugins \ git://github.com/containernetworking/plugins.git;nobranch=1;destsuffix=${S}/src/github.com/containernetworking/plugins;name=plugins \