[oe] [meta-python][PATCH 2/2] python-pyflame: Use SHA instead of tag in SRC_URI

Andrew Jeffery andrew at aj.id.au
Tue Aug 28 00:15:24 UTC 2018


On Sat, 25 Aug 2018, at 02:04, Khem Raj wrote:
> tags are floating and bitbake will ping the remote host
> and this will fail in BB_NO_NETWORK cases
> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> Cc: Andrew Jeffery <andrew at aj.id.au>

Acked-by: Andrew Jeffery <andrew at aj.id.au>

Thanks Khem!

> ---
>  meta-python/recipes-devtools/python/python-pyflame.inc      | 2 +-
>  meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb | 2 ++
>  2 files changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-python/recipes-devtools/python/python-pyflame.inc b/
> meta-python/recipes-devtools/python/python-pyflame.inc
> index 2ee79f7b8a..71fe769765 100644
> --- a/meta-python/recipes-devtools/python/python-pyflame.inc
> +++ b/meta-python/recipes-devtools/python/python-pyflame.inc
> @@ -5,7 +5,7 @@ LICENSE = "Apache-2.0"
>  LIC_FILES_CHKSUM = "file://${S}/
> LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
>  DEPENDS = "python"
>  
> -SRC_URI = "git://github.com/uber/pyflame.git;protocol=https;tag=v${PV}"
> +SRC_URI = "git://github.com/uber/pyflame.git;protocol=https"
>  S = "${WORKDIR}/git"
>  
>  inherit pkgconfig autotools
> diff --git a/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb 
> b/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb
> index abf3ed7fee..8dedb89286 100644
> --- a/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb
> +++ b/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb
> @@ -1,4 +1,6 @@
>  require python-pyflame.inc
>  
> +# v1.6.6
> +SRCREV = "8a9d8c2acc3b3bb027475b738134f1e6fff14e6c"
>  SRC_URI += 
> "file://0001-ptrace-Abstract-over-user_regs_struct-name-which-dif.patch"
>  SRC_URI += 
> "file://0001-symbol-Account-for-prelinked-shared-objects.patch"
> -- 
> 2.18.0
> 



More information about the Openembedded-devel mailing list