Skip to contentSkip to conversation

arm/sbsa-acs: use UPSTREAM_CHECK_URI for version checking

PATCH Applied Jon Mason 2 participants 3 messages Mar 28, 2024 – Mar 29, 2024

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/2 arm/sbsa-acs: use UPSTREAM_CHECK_URI for version checking

Since sbsa-acs requires edk2-firmware, it bases its SRC_URI on that. The first entry of SRC_URI is what is used to determine the latest version. So, specify an alternative URI to determine the correct version.

---
 meta-arm/recipes-bsp/uefi/sbsa-acs_7.1.4.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-arm/recipes-bsp/uefi/sbsa-acs_7.1.4.bb +2 -0
index b61658c44bba..a29c16ecb466 100644
@@ -13,6 +13,8 @@ SRC_URI += "git://github.com/ARM-software/sbsa-acs;destsuffix=edk2/ShellPkg/Appl
 SRCREV_acs = "be169f0008d86341e1e48cb70d524bd1518c3acc"
 SRCREV_libc = "4667a82f0d873221f8b25ea701ce57a29270e4cb"
 
+UPSTREAM_CHECK_URI = "https://github.com/ARM-software/sbsa-acs/releases"
+
 COMPATIBLE_HOST = "aarch64.*-linux"
 COMPATIBLE_MACHINE = ""
 PACKAGE_ARCH = "${TUNE_PKGARCH}"
Signature · 1 line
2.39.3 (Apple Git-146)
author
#1 lore raw

PATCH 2/2 arm: use UPSTREAM_CHECK_COMMITS for git versioned recipes

---
 meta-arm/recipes-devtools/gn/gn_git.bb                 | 2 ++
 meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb | 3 ++-
 scripts/machine-summary.py                             | 2 ++
 3 files changed, 6 insertions(+), 1 deletion(-)
meta-arm/recipes-devtools/gn/gn_git.bb +2 -0
index 5a6f19dbab02..7ec340c9d1b8 100644
@@ -4,6 +4,8 @@ DEPENDS += "ninja-native"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=0fca02217a5d49a14dfe2d11837bb34d"
 
+UPSTREAM_CHECK_COMMITS = "1"
+
 SRC_URI = "git://gn.googlesource.com/gn;protocol=https;branch=main \
            file://0001-Replace-lstat64-stat64-functions-on-linux.patch"
 SRCREV = "4bd1a77e67958fb7f6739bd4542641646f264e5d"
meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb +2 -1
index df1f3bddc8df..7996e9b36c3f 100644
@@ -22,9 +22,10 @@ FTPM_UUID="bc50d971-d4c9-42c4-82cb-343fb7f37896"
 
 SRC_URI = "gitsm://github.com/Microsoft/ms-tpm-20-ref;branch=main;protocol=https \
            file://0001-add-enum-to-ta-flags.patch"
-
 SRCREV = "d638536d0fe01acd5e39ffa1bd100b3da82d92c7"
 
+UPSTREAM_CHECK_COMMITS = "1"
+
 S = "${WORKDIR}/git"
 
 OPTEE_CLIENT_EXPORT = "${STAGING_DIR_HOST}${prefix}"
scripts/machine-summary.py +2 -0
index 477bdfc709ef..455a5176fe5d 100755
@@ -146,9 +146,11 @@ recipes = ("virtual/kernel",
            "edk2-firmware",
            "u-boot",
            "optee-os",
+           "optee-ftpm",
            "hafnium",
            "boot-wrapper-aarch64",
            "gator-daemon",
+           "gn",
            "opencsd",
            "gcc-aarch64-none-elf-native",
            "gcc-arm-none-eabi-native")
Signature · 1 line
2.39.3 (Apple Git-146)
Applied
#2 lore raw
In reply to Jon Mason
Quoted 6 lines · Jon Mason

Since sbsa-acs requires edk2-firmware, it bases its SRC_URI on that. The first entry of SRC_URI is what is used to determine the latest version. So, specify an alternative URI to determine the correct version.

Applied, thanks!

[1/2] arm/sbsa-acs: use UPSTREAM_CHECK_URI for version checking

      commit: 7163b472ab8a5de852508de5e60148d681f4e21e
[2/2] arm: use UPSTREAM_CHECK_COMMITS for git versioned recipes
      commit: 8d308aac029f3c5cd08100f2978d0c28bed4332d

Best regards,

Signature · 1 line
Jon Mason <[email protected]>