From 68641a33566e8107ed7f755fbeaee94fb0ae1e1b Mon Sep 17 00:00:00 2001 From: Johan Gunnarsson Date: Wed, 3 Aug 2022 21:44:37 +0200 Subject: [PATCH] build-boot-with-aws-batch: Add param for U-Boot and ATF revs --- scripts/build-boot-with-aws-batch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/build-boot-with-aws-batch b/scripts/build-boot-with-aws-batch index ce87025..93d3db9 100755 --- a/scripts/build-boot-with-aws-batch +++ b/scripts/build-boot-with-aws-batch @@ -3,6 +3,8 @@ ARRAY_S3_URI_BASE="${1}" # For example "s3://bucket/folder" ARTIFACTS_S3_URI_BASE="${2}" # For example "s3://bucket/folder" +U_BOOT_GIT_REV="${3}" # For example "v2022.07" +ATF_GIT_REV="${4}" # For example "v2.7" set -ex @@ -15,6 +17,8 @@ aws s3 cp "${ARRAY_S3_URI_BASE}/${AWS_BATCH_JOB_ARRAY_INDEX}" "${ARGS}" # Source parameters . "${ARGS}" +export U_BOOT_GIT_REV +export ATF_GIT_REV build-boot "${BOARD_ID}" "${CHIP_ID}" "${DEFCONFIG}" "${TUPLE}" # Upload artifacts from this run