From 0a517611634d4b700c6212e174540816f6187b46 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Thu, 5 Feb 2015 13:53:26 +0100 Subject: [PATCH] meta-digi-dey: add Digi mirror Add a Digi mirror for packages that have dissapeared upstream. https://jira.digi.com/browse/DEL-1493 Signed-off-by: Javier Viguera (cherry picked from commit 0a01d3a5d0203d1ce75482677739bf0113da624d) --- meta-digi-dey/conf/distro/dey.conf | 5 ----- meta-digi-dey/conf/layer.conf | 8 ++++++++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/meta-digi-dey/conf/distro/dey.conf b/meta-digi-dey/conf/distro/dey.conf index 2ea34a140..cc11964fe 100644 --- a/meta-digi-dey/conf/distro/dey.conf +++ b/meta-digi-dey/conf/distro/dey.conf @@ -94,11 +94,6 @@ ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" -MIRRORS += "\ -ftp://.*/.* ${DIGI_MIRROR}/ \n \ -http://.*/.* ${DIGI_MIRROR}/ \n \ -https://.*/.* ${DIGI_MIRROR}/ \n" - # The CONNECTIVITY_CHECK_URI's are used to test whether we can successfully # fetch from the network (and warn you if not). To disable the test set # the variable to be empty. diff --git a/meta-digi-dey/conf/layer.conf b/meta-digi-dey/conf/layer.conf index ea067e36f..bc1ee92a9 100644 --- a/meta-digi-dey/conf/layer.conf +++ b/meta-digi-dey/conf/layer.conf @@ -14,6 +14,14 @@ BBFILE_COLLECTIONS += "dey" BBFILE_PATTERN_dey := "^${LAYERDIR}/" BBFILE_PRIORITY_dey = "6" +# Digi mirror for packages vanished upstream +DIGI_MIRROR ?= "ftp://ftp1.digi.com/support/digiembeddedyocto/mirror/" +MIRRORS += "\ +ftp://.*/.* ${DIGI_MIRROR} \n \ +http://.*/.* ${DIGI_MIRROR} \n \ +https://.*/.* ${DIGI_MIRROR} \n \ +" + # This is Digi's General license agreement. DIGI_EULA_FILE = "${LAYERDIR}/DIGI_EULA"