scripts: ci_setup: Drop duplicate container-entrypoint call

Message ID de75fb7f-b002-408c-993d-6e76b9c374d3@siemens.com
State New
Headers show
Series scripts: ci_setup: Drop duplicate container-entrypoint call | expand

Commit Message

Jan Kiszka March 18, 2026, 4:20 p.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

We now recommend to invoke the kas container via --command, and then the
entrypoint script is already run implicitly.

Fixes: 5be38c64184a ("ci: Correct kas command invocation of ci_setup script")
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 scripts/ci_setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jan Kiszka March 18, 2026, 6:57 p.m. UTC | #1
On 18.03.26 17:20, 'Jan Kiszka' via isar-users wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> We now recommend to invoke the kas container via --command, and then the
> entrypoint script is already run implicitly.
> 
> Fixes: 5be38c64184a ("ci: Correct kas command invocation of ci_setup script")
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>  scripts/ci_setup.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/ci_setup.sh b/scripts/ci_setup.sh
> index f373d1c0..c6eeaeef 100755
> --- a/scripts/ci_setup.sh
> +++ b/scripts/ci_setup.sh
> @@ -29,4 +29,4 @@ done
>      sudo apt-get install -y avocado qemu-system-arm qemu-system-x86
>  }
>  
> -exec /container-entrypoint ${*}
> +bash

Strike that: The testsuite execution inside kas shell is broken as we
are then already inside a bitbake env while avocado wants us outside. I
guess we should just drop this script and related contribution
guidelines which are not executable for a long time.

Running the testsuite remains painful.

Jan

Patch

diff --git a/scripts/ci_setup.sh b/scripts/ci_setup.sh
index f373d1c0..c6eeaeef 100755
--- a/scripts/ci_setup.sh
+++ b/scripts/ci_setup.sh
@@ -29,4 +29,4 @@  done
     sudo apt-get install -y avocado qemu-system-arm qemu-system-x86
 }
 
-exec /container-entrypoint ${*}
+bash