From cf52a1b681d755107f539bbc040b73e9c6a8f208 Mon Sep 17 00:00:00 2001 From: Sai Hari Chandana Kalluri Date: Tue, 11 Aug 2020 21:19:11 -0700 Subject: [PATCH] plnx-mirrors: A class to provide alternate URLS When SRC_URI fetch fails, use MIRRORS specified in plnx-mirrors for alternate paths for fetch. To enable the plnx-mirrors, users can add INHERIT+="plnx-mirrors" to local.conf Signed-off-by: Sai Hari Chandana Kalluri --- classes/plnx-mirrors.bbclass | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 classes/plnx-mirrors.bbclass diff --git a/classes/plnx-mirrors.bbclass b/classes/plnx-mirrors.bbclass new file mode 100644 index 0000000000..b0fd66f686 --- /dev/null +++ b/classes/plnx-mirrors.bbclass @@ -0,0 +1,5 @@ +MIRRORS += "\ +git://xenbits.xen.org/xen.git git://xenbits.xen.org/git-http/xen.git;protocol=https \n \ +git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent git://git.eclipse.org/r/tcf/org.eclipse.tcf.agent;protocol=https \n \ +" +