diff mbox series

[1/1] arm-bsp/n1sdp: Use git clone to fetch FW for the N1SDP

Message ID 20240430082413.1131081-2-adam.johnston@arm.com
State New
Headers show
Series arm-bsp/n1sdp: Use git clone to fetch FW for the N1SDP | expand

Commit Message

Adam Johnston April 30, 2024, 8:24 a.m. UTC
From: Adam Johnston <adam.johnston@arm.com>

git.linaro.org/landing-teams/working no longer seems to serve snapshots
in tar.gz format, breaking the N1SDP build for kirkstone.

Using same tag as the existing snapshot, fetch the binaries with a
conventional git clone, as per master.

Signed-off-by: Adam Johnston <adam.johnston@arm.com>
---
 .../recipes-bsp/images/n1sdp-board-firmware_2020.07.27.bb  | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Comments

Jon Mason April 30, 2024, 12:17 p.m. UTC | #1
On Tue, Apr 30, 2024 at 09:24:13AM +0100, adam.johnston@arm.com wrote:
> From: Adam Johnston <adam.johnston@arm.com>
> 
> git.linaro.org/landing-teams/working no longer seems to serve snapshots
> in tar.gz format, breaking the N1SDP build for kirkstone.

In the future, please add "kirkstone" to the subjectline (after PATCH).
This allows my magic scripts to automatically apply and run CI while
I'm sleeping :)

In kirkstone-next now, pending CI passing for kirkstone.

Thanks,
Jon

> 
> Using same tag as the existing snapshot, fetch the binaries with a
> conventional git clone, as per master.
> 
> Signed-off-by: Adam Johnston <adam.johnston@arm.com>
> ---
>  .../recipes-bsp/images/n1sdp-board-firmware_2020.07.27.bb  | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/meta-arm-bsp/recipes-bsp/images/n1sdp-board-firmware_2020.07.27.bb b/meta-arm-bsp/recipes-bsp/images/n1sdp-board-firmware_2020.07.27.bb
> index 228ed927..2295b772 100644
> --- a/meta-arm-bsp/recipes-bsp/images/n1sdp-board-firmware_2020.07.27.bb
> +++ b/meta-arm-bsp/recipes-bsp/images/n1sdp-board-firmware_2020.07.27.bb
> @@ -11,10 +11,11 @@ INHIBIT_DEFAULT_DEPS = "1"
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>  COMPATIBLE_MACHINE = "n1sdp"
>  
> -SRC_URI = "https://git.linaro.org/landing-teams/working/arm/n1sdp-board-firmware.git/snapshot/${BPN}-N1SDP-${PV}.tar.gz"
> -SRC_URI[sha256sum] = "57feba404026f2d6d49c167d63e0e84653ad8b808b13e2244b81fea9e0d58d66"
> +SRC_URI = "git://git.linaro.org/landing-teams/working/arm/n1sdp-board-firmware.git;protocol=https;branch=master"
>  
> -S = "${WORKDIR}/${BPN}-N1SDP-${PV}"
> +SRCREV  = "9a095cbdf8ef59a7433e2769e4e2e92782b68c50"
> +
> +S = "${WORKDIR}/git"
>  
>  INSTALL_DIR = "/n1sdp-board-firmware_source"
>  
>
diff mbox series

Patch

diff --git a/meta-arm-bsp/recipes-bsp/images/n1sdp-board-firmware_2020.07.27.bb b/meta-arm-bsp/recipes-bsp/images/n1sdp-board-firmware_2020.07.27.bb
index 228ed927..2295b772 100644
--- a/meta-arm-bsp/recipes-bsp/images/n1sdp-board-firmware_2020.07.27.bb
+++ b/meta-arm-bsp/recipes-bsp/images/n1sdp-board-firmware_2020.07.27.bb
@@ -11,10 +11,11 @@  INHIBIT_DEFAULT_DEPS = "1"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 COMPATIBLE_MACHINE = "n1sdp"
 
-SRC_URI = "https://git.linaro.org/landing-teams/working/arm/n1sdp-board-firmware.git/snapshot/${BPN}-N1SDP-${PV}.tar.gz"
-SRC_URI[sha256sum] = "57feba404026f2d6d49c167d63e0e84653ad8b808b13e2244b81fea9e0d58d66"
+SRC_URI = "git://git.linaro.org/landing-teams/working/arm/n1sdp-board-firmware.git;protocol=https;branch=master"
 
-S = "${WORKDIR}/${BPN}-N1SDP-${PV}"
+SRCREV  = "9a095cbdf8ef59a7433e2769e4e2e92782b68c50"
+
+S = "${WORKDIR}/git"
 
 INSTALL_DIR = "/n1sdp-board-firmware_source"