All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH] firmware.inc: Fetch a zip instead of cloning a git repo
@ 2015-06-26  4:16 Jon Szymaniak
  2015-06-26  8:31 ` Burton, Ross
  0 siblings, 1 reply; 15+ messages in thread
From: Jon Szymaniak @ 2015-06-26  4:16 UTC (permalink / raw)
  To: yocto; +Cc: Jon Szymaniak

GitHub provides this ability to download repository contents at
a specified changeset as a zip file. This is generally *much* quicker
than fetching the entire git repository.

This resolves some do_fetch() failures I've seen for bcm2835-bootfiles
in which the clone operation takes a very long time, and the connection
eventually hangs and errors out.

Signed-off-by: Jon Szymaniak <jon.szymaniak@gmail.com>
---
 recipes-bsp/common/firmware.inc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/common/firmware.inc b/recipes-bsp/common/firmware.inc
index ad3176a..5830bb0 100644
--- a/recipes-bsp/common/firmware.inc
+++ b/recipes-bsp/common/firmware.inc
@@ -1,8 +1,10 @@
 RPIFW_SRCREV ?= "e42a747e8d5c4a2fb3e837d0924c7cc39999936a"
 RPIFW_DATE ?= "20150206"
-RPIFW_SRC_URI ?= "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master"
-RPIFW_S ?= "${WORKDIR}/git"
+RPIFW_SRC_URI ?= "https://github.com/raspberrypi/firmware/archive/${RPIFW_SRCREV}.zip"
+RPIFW_S ?= "${WORKDIR}/firmware-${RPIFW_SRCREV}"
 
 SRC_URI = "${RPIFW_SRC_URI}"
+SRC_URI[md5sum] = "a0cd8bc3a82fa708e26da62350fcf485"
+SRC_URI[sha256sum] = "eebf3bbe2fda533da4b44e713090428e6c14306445543243ae03bca774894840"
 SRCREV = "${RPIFW_SRCREV}"
 PV = "${RPIFW_DATE}"
-- 
2.1.4



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

end of thread, other threads:[~2015-07-10  8:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-26  4:16 [meta-raspberrypi][PATCH] firmware.inc: Fetch a zip instead of cloning a git repo Jon Szymaniak
2015-06-26  8:31 ` Burton, Ross
2015-06-26  9:07   ` Gary Thomas
2015-06-26  9:09     ` Burton, Ross
2015-06-26 14:16   ` Jon Szymaniak
2015-06-26 14:19     ` Burton, Ross
2015-06-26 14:42       ` Jon Szymaniak
2015-06-26 14:46         ` Burton, Ross
2015-07-05 19:19     ` Petter Mabäcker
2015-07-06  5:19   ` Clemens Lang
2015-07-06  8:40     ` Anders Darander
2015-07-06  9:48       ` Nikolay Dimitrov
2015-07-06 10:58         ` Paul Eggleton
2015-07-09 20:13           ` Andrei Gherzan
2015-07-10  8:47             ` Nikolay Dimitrov

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.