All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-ti][scarthgap/master][PATCH] layer: add github MIRRORS definitions
@ 2025-11-07  1:01 rs
  2025-11-07  1:05 ` PRC Automation
  2025-11-07  1:22 ` Denys Dmytriyenko
  0 siblings, 2 replies; 6+ messages in thread
From: rs @ 2025-11-07  1:01 UTC (permalink / raw)
  To: praneeth, reatmon, denis; +Cc: meta-ti

From: Randolph Sapp <rs@ti.com>

We have some projects mirrored to GitHub currently. It makes sense to
add a MIRRORS entry for git.ti.com sources to fall back on in the event
git.ti.com is unreachable.

Placing this in the main BSP layer configuration file should be all that
is required for this and any other layers that depend this core layer to
fall back to GitHub.

Signed-off-by: Randolph Sapp <rs@ti.com>
---

Tested locally by making git.ti.com ns lookups return NXDOMAIN and then
requesting to fetch linux-ti-staging.

 meta-ti-bsp/conf/layer.conf | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-ti-bsp/conf/layer.conf b/meta-ti-bsp/conf/layer.conf
index e3a28628..d87d040b 100644
--- a/meta-ti-bsp/conf/layer.conf
+++ b/meta-ti-bsp/conf/layer.conf
@@ -36,3 +36,8 @@ TI_COMMON_DEPLOY ?= "${TOPDIR}/deploy-ti"
 DEPLOY_DIR_IMAGE:ti-soc = "${TI_COMMON_DEPLOY}/images/${MACHINE}"
 SDK_DEPLOY:ti-soc = "${TI_COMMON_DEPLOY}/sdk"
 PSEUDO_IGNORE_PATHS:append:ti-soc = ",${TI_COMMON_DEPLOY}"
+
+MIRRORS += " \
+    git://git.ti.com/.* git://github.com/TexasInstruments/BASENAME;protocol=https \
+    gitsm://git.ti.com/.* gitsm://github.com/TexasInstruments/BASENAME;protocol=https \
+"
-- 
2.51.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-11-07  4:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-07  1:01 [meta-ti][scarthgap/master][PATCH] layer: add github MIRRORS definitions rs
2025-11-07  1:05 ` PRC Automation
2025-11-07  1:22 ` Denys Dmytriyenko
2025-11-07  2:59   ` Res Sapp
2025-11-07  3:17     ` Denys Dmytriyenko
2025-11-07  4:00       ` Res Sapp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.