[oe] [PATCH 1/2] libndp: switch to github uri. libndp.org is unstable

Martin Jansa martin.jansa at gmail.com
Thu May 11 12:57:32 UTC 2017


;branch=master is default and you can drop it.

Don't use tag names (bitbake will have to reach the git repository to
convert the name to fixed SRCREV every time it parses the recipe), use
fixed SRCREV which is matching the tag.

On Thu, May 11, 2017 at 2:53 PM, Gianfranco Costamagna <
costamagna.gianfranco at gmail.com> wrote:

> From: Gianfranco Costamagna <gianfranco.costamagna at abinsula.com>
>
> Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna at abinsula.com>
> ---
>  meta-oe/recipes-connectivity/libndp/libndp_1.6.bb | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb
> b/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb
> index e06ff7f..7a8ba60 100644
> --- a/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb
> +++ b/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb
> @@ -3,10 +3,10 @@ SUMMARY = "Library for IPv6 Neighbor Discovery Protocol"
>  LICENSE = "LGPLv2.1"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
>
> -SRC_URI = "http://libndp.org/files/${BPN}-${PV}.tar.gz \
> +SRC_URI = "git://github.com/jpirko/libndp;branch=master;tag=v${PV} \
>             file://0001-include-sys-select.h-for-fd_-definitions.patch \
>             "
> -SRC_URI[md5sum] = "1e54d26bcb4a4110bc3f90c5dd04f1a7"
> -SRC_URI[sha256sum] = "0c7dfa84e013bd5e569ef2c6292a6f
> 72cfaf14f4ff77a77425e52edc33ffac0e"
> +
> +S = "${WORKDIR}/git"
>
>  inherit autotools
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list