From: Juan A. Suarez Romero Date: Wed, 6 Dec 2023 11:39:49 +0000 (+0100) Subject: ci/baremetal: make BM_BOOTCONFIG optional X-Git-Tag: upstream/23.3.3~110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=137420fe9d6efc80d81f88d9be1c11e347a92cb0;p=platform%2Fupstream%2Fmesa.git ci/baremetal: make BM_BOOTCONFIG optional In some cases we can have the config.txt boot file already available in the tftp folder. Reviewed-by: Eric Engestrom Signed-off-by: Juan A. Suarez Romero Part-of: (cherry picked from commit f97e065c4f72856eccefcbf7dbe72253a6918294) --- diff --git a/.gitlab-ci/bare-metal/poe-powered.sh b/.gitlab-ci/bare-metal/poe-powered.sh index 399384f..101fa60 100755 --- a/.gitlab-ci/bare-metal/poe-powered.sh +++ b/.gitlab-ci/bare-metal/poe-powered.sh @@ -70,11 +70,6 @@ if [ -z "$BM_CMDLINE" ]; then exit 1 fi -if [ -z "$BM_BOOTCONFIG" ]; then - echo "Must set BM_BOOTCONFIG to your board's required boot configuration arguments" - exit 1 -fi - set -ex date +'%F %T' @@ -154,8 +149,10 @@ date +'%F %T' echo "$BM_CMDLINE" > /tftp/cmdline.txt -# Add some required options in config.txt -printf "$BM_BOOTCONFIG" >> /tftp/config.txt +# Add some options in config.txt, if defined +if [ -n "$BM_BOOTCONFIG" ]; then + printf "$BM_BOOTCONFIG" >> /tftp/config.txt +fi set +e ATTEMPTS=3 diff --git a/.pick_status.json b/.pick_status.json index 1886593..326a7dd 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -4244,7 +4244,7 @@ "description": "ci/baremetal: make BM_BOOTCONFIG optional", "nominated": false, "nomination_type": 3, - "resolution": 4, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null