Skip to contentSkip to conversation

arm-bsp, linux-linaro-arm: Don't perform SHA verification

PATCH In review Diego Sueiro 3 participants 4 messages Jun 5, 2020 – Jun 8, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm-bsp, linux-linaro-arm: Don't perform SHA verification

Since the Linaro kernel-release repo doesn't have a master branch and the branches are force pushed, we need to have the nobranch=1 setting in the SRC_URI and have the SRCREV pointing to TAG commit SHA the will not get modified.

Change-Id: Id1ad6b57a6f11ec4dadd3647043e6f2f48f498d4
Issue-ID: SCM-888

---
 meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bb +3 -2
index fcc07a6..d2cd127 100644
@@ -11,10 +11,11 @@ COMPATIBLE_MACHINE ?= "invalid"
 # KBRANCH is set to n1sdp by default as there is no master branch on the repository
 KBRANCH = "n1sdp"
 
-SRC_URI = "git://git.linaro.org/landing-teams/working/arm/kernel-release.git;branch=${KBRANCH}; \
+SRC_URI = "git://git.linaro.org/landing-teams/working/arm/kernel-release.git;nobranch=1 \
            file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch \
           "
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
-SRCREV = "${AUTOREV}"
+# Refer to commit TAG N1SDP-2020.03.26 since it will not get force pushed
+SRCREV = "137cccb0843e63b031acf67d1ca4f6447b8c417c"
 LINUX_VERSION ?= "${PV}"
Signature · 1 line
2.7.4
#1 lore raw

@Jon,

Can you please also apply this patch to dunfell branch?

Reviewed-by on v1 1/1
#2 lore raw
In reply to Diego Sueiro
Quoted 12 lines · Diego Sueiro via lists.yoctoproject.org

Since the Linaro kernel-release repo doesn't have a master branch and the branches are force pushed, we need to have the nobranch=1 setting in the SRC_URI and have the SRCREV pointing to TAG commit SHA the will not get modified.

Change-Id: Id1ad6b57a6f11ec4dadd3647043e6f2f48f498d4
Issue-ID: SCM-888

Quoted 26 lines

---
meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bb | 5 +++--

1 file changed, 3 insertions(+), 2 deletions(-)
meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bb +0 -0
index fcc07a6..d2cd127 100644
@@ -11,10 +11,11 @@ COMPATIBLE_MACHINE ?= "invalid"
 # KBRANCH is set to n1sdp by default as there is no master branch on the repository

KBRANCH = "n1sdp"

meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bb +1 -1
-SRC_URI = "git://git.linaro.org/landing-teams/working/arm/kernel-release.git;branch=${KBRANCH}; \
+SRC_URI = "git://git.linaro.org/landing-teams/working/arm/kernel-release.git;nobranch=1 \
           file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch \
          "

LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"

meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bb +2 -1
-SRCREV = "${AUTOREV}"
+# Refer to commit TAG N1SDP-2020.03.26 since it will not get force pushed
+SRCREV = "137cccb0843e63b031acf67d1ca4f6447b8c417c"

LINUX_VERSION ?= "${PV}"

Signature · 1 line
2.7.4
#3 lore raw
In reply to Diego Sueiro
Quoted 8 lines · Diego Sueiro

Since the Linaro kernel-release repo doesn't have a master branch and the branches are force pushed, we need to have the nobranch=1 setting in the SRC_URI and have the SRCREV pointing to TAG commit SHA the will not get modified.

Change-Id: Id1ad6b57a6f11ec4dadd3647043e6f2f48f498d4
Issue-ID: SCM-888

Pulled into master.

Thanks,
Jon

Quoted 27 lines
---
 meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bb +3 -2
index fcc07a6..d2cd127 100644
@@ -11,10 +11,11 @@ COMPATIBLE_MACHINE ?= "invalid"
 # KBRANCH is set to n1sdp by default as there is no master branch on the repository
 KBRANCH = "n1sdp"
 
-SRC_URI = "git://git.linaro.org/landing-teams/working/arm/kernel-release.git;branch=${KBRANCH}; \
+SRC_URI = "git://git.linaro.org/landing-teams/working/arm/kernel-release.git;nobranch=1 \
            file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch \
           "
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
-SRCREV = "${AUTOREV}"
+# Refer to commit TAG N1SDP-2020.03.26 since it will not get force pushed
+SRCREV = "137cccb0843e63b031acf67d1ca4f6447b8c417c"
 LINUX_VERSION ?= "${PV}"
Signature · 1 line
2.7.4