From 31c33d155c317ce70ae9b4a30a55e16a721f7177 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 30 Mar 2022 21:38:29 -0700 Subject: [PATCH] armstubs: Upgrade to 20211101 - Switch to using git fetcher, avoid the QA issue ERROR: armstubs-20211101-r0 do_unpack: QA Issue: armstubs: SRC_URI uses unstable GitHub/GitLab archives, convert recipe to use git protocol [src-uri-bad] - Use shallow clone to reduce size of cloned repo Normal archive tarball raspberrypi-tools-13474ee775d0c5ec8a7da4fb0a9fa84187abfc87.tar.gz - 324M Shallow clone achive tarball gitshallow_github.com.raspberrypi.tools_13474ee-1_master.tar.gz - 189M Signed-off-by: Khem Raj --- recipes-bsp/common/raspberrypi-tools.inc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/recipes-bsp/common/raspberrypi-tools.inc b/recipes-bsp/common/raspberrypi-tools.inc index 29de2cd..dc372ab 100644 --- a/recipes-bsp/common/raspberrypi-tools.inc +++ b/recipes-bsp/common/raspberrypi-tools.inc @@ -1,9 +1,11 @@ -RPITOOLS_DATE ?= "20210705" -SRCREV ?= "2e59fc67d465510179155973d2b959e50a440e47" -RPITOOLS_SRC_URI ?= "https://github.com/raspberrypi/tools/archive/${SRCREV}.tar.gz;downloadfilename=raspberrypi-tools-${SRCREV}.tar.gz" -RPITOOLS_S ?= "${WORKDIR}/tools-${SRCREV}" +RPITOOLS_DATE ?= "20211101" +SRCREV ?= "13474ee775d0c5ec8a7da4fb0a9fa84187abfc87" +RPITOOLS_SRC_URI ?= "git://github.com/raspberrypi/tools;protocol=https;branch=master" +RPITOOLS_S ?= "${WORKDIR}/git" SRC_URI = "${RPITOOLS_SRC_URI}" -SRC_URI[sha256sum] = "77b0d2350d5f1d7003cbfa68db5318241caec3e1b5e499d65673ec6d987dcb1a" PV = "${RPITOOLS_DATE}" + +BB_GIT_SHALLOW = "1" +