[OE-core] [krogoth][PATCH 11/12] at: use snapshot.debian.org for SRC_URI

akuster808 akuster808 at gmail.com
Thu Jul 28 15:40:08 UTC 2016


Maxim,


On 07/28/2016 07:04 AM, Maxin B. John wrote:
> From: Tim Orling <timothy.t.orling at linux.intel.com>
> 
> Using ${DEBIAN_MIRROR} for SRC_URI doesn't work very well as that will only
> contain releases that are currently in Debian, so currently doesn't contain
> 3.1.18 as unstable has moved on to 3.1.20.
> 
> So, move all of SRC_URI to the .bb so it can use snapshot.debian.org instead,
> and set UPSTREAM_CHECK_URI to ${DEBIAN_MIRROR} so upstream release checking
> continues to work.
> 
> [YOCTO #10005]
> 
> Signed-off-by: Tim Orling <timothy.t.orling at linux.intel.com>
> Signed-off-by: Maxin B. John <maxin.john at intel.com>

I pulled this version in from another request.

-armin
> ---
>  meta/recipes-extended/at/at_3.1.18.bb | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-extended/at/at_3.1.18.bb b/meta/recipes-extended/at/at_3.1.18.bb
> index 93044f5..f533f3c 100644
> --- a/meta/recipes-extended/at/at_3.1.18.bb
> +++ b/meta/recipes-extended/at/at_3.1.18.bb
> @@ -15,7 +15,7 @@ PAM_DEPS = "libpam libpam-runtime pam-plugin-env pam-plugin-limits"
>  RCONFLICTS_${PN} = "atd"
>  RREPLACES_${PN} = "atd"
>  
> -SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz;subdir=${BP} \
> +SRC_URI += "http://snapshot.debian.org/archive/debian/20160509T100042Z/pool/main/a/${BPN}/${BPN}_${PV}.orig.tar.gz;subdir=${BP} \
>      file://fix_parallel_build_error.patch \
>      file://posixtm.c \
>      file://posixtm.h \
> @@ -28,6 +28,8 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz;subdir=${BP} \
>      file://configure-fix-with-without-selinux.patch \
>      "
>  
> +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/a/at/"
> +
>  PAM_SRC_URI = "file://pam.conf.patch \
>                 file://configure-add-enable-pam.patch"
>  
> 



More information about the Openembedded-core mailing list