From 0c1b6af1b689fd0eb407618ac9c763e48fc0b814 Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Wed, 20 Sep 2023 11:40:17 -0700 Subject: [PATCH] ci/fastboot: Use a case insensitive match for a fastboot line. Newer boards like the RB5 have a capital F, so this will make the script more reusable for drm ci. Part-of: --- .gitlab-ci/bare-metal/fastboot_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/bare-metal/fastboot_run.py b/.gitlab-ci/bare-metal/fastboot_run.py index fe0d60ba5bd..3dcb3b7ca37 100755 --- a/.gitlab-ci/bare-metal/fastboot_run.py +++ b/.gitlab-ci/bare-metal/fastboot_run.py @@ -60,7 +60,7 @@ class FastbootRun: fastboot_ready = False for line in self.ser.lines(timeout=2 * 60, phase="bootloader"): - if re.search("fastboot: processing commands", line) or \ + if re.search("[Ff]astboot: [Pp]rocessing commands", line) or \ re.search("Listening for fastboot command on", line): fastboot_ready = True break