Skip to content

Commit

Permalink
[Tizen] Pass runner's path as QEMU argument (project-chip#36173)
Browse files Browse the repository at this point in the history
* Allow runner's path to be passed

* Bump version
  • Loading branch information
XToripuru authored Oct 24, 2024
1 parent 736ed63 commit 70f168a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion integrations/docker/images/base/chip-build/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
85 : [Silabs] Update Silabs docker Simplicity SDK v2024.6.2
86 : [Tizen] Pass runner's path as QEMU argument
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,13 @@ RUN set -x \
&& echo -n \
"#!/bin/bash\n" \
"grep -q 'rootshell' /proc/cmdline && exit\n" \
"if [[ -x /mnt/chip/runner.sh ]]; then\n" \
"runner=\$(grep -o 'runner=[^ ]*' /proc/cmdline | sed 's/runner=//')\n" \
"if [[ -z \"\$runner\" ]]; then\n" \
" runner='/mnt/chip/runner.sh' \n" \
"fi\n" \
"if [[ -x \"\$runner\" ]]; then\n" \
" echo '### RUNNER START ###'\n" \
" /mnt/chip/runner.sh\n" \
" \"\$runner\"\n" \
" echo '### RUNNER STOP:' \$?\n" \
"else\n" \
" read -r -t 5 -p 'Press ENTER to access root shell...' && exit || echo ' timeout.'\n" \
Expand Down

0 comments on commit 70f168a

Please sign in to comment.