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"