ci: lcm: script_functions.sh: get_container_name: add support for Turris

Currently the LCM tests are failing on Turris Omnia device as we're
using Cortex-A53 (64-bit) container on Cortex-A9 (32-bit) device. So
lets fix it by adding support for Turris Omnia device into
get_container_name(), while at it make it clear in the comment.

References: LCM-752
Reported-by: Nabil BIZID <nabil.bizid@softathome.com>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
This commit is contained in:
Petr Štetiar 2025-03-07 08:38:39 +00:00
parent 305724daa6
commit dc37be3a36
No known key found for this signature in database
GPG Key ID: 58EE120F30CC02D3

View File

@ -20,7 +20,7 @@ CLI="ba-cli"
MAX_WAIT_CTR_UP=60
## Return default container name based on target.
## Default is ARM container
## Default is Cortex-A53 based ARM 64-bit container
get_container_name() {
board_name=$(cut -d',' -f2 </tmp/sysinfo/board_name)
case "${board_name}" in
@ -32,6 +32,9 @@ get_container_name() {
"qemu-standard-pc-i440fx-piix-1996")
echo lcm-test-x86-64
;;
"turris-omnia")
echo lcm-test-mvebu-cortexa9
;;
*)
echo lcm-test-ipq807x-generic
;;