Skip to content

Commit cc0e457

Browse files
committed
Arm backend: Accept FVP EULA in CI fallback setup
When run.sh falls back to setup.sh under CI, pass the FVP EULA flag so Linux CI can install bundled FVPs without failing on the interactive EULA requirement. Signed-off-by: Usamah Zaheer <usamah.zaheer@arm.com> Change-Id: Ic154c5dc6327ee7d882429f11f82fa9c8d7a17e1
1 parent fd420af commit cc0e457

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

examples/arm/run.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,11 @@ EOF
595595
if ! check_setup; then
596596
if [ "$scratch_dir_set" = false ] ; then
597597
# check setup failed, no scratchdir given as parameter. trying to run setup.sh
598-
if ${script_dir}/setup.sh; then
598+
setup_args=()
599+
if [[ "${CI:-false}" == "true" ]]; then
600+
setup_args+=(--i-agree-to-the-contained-eula)
601+
fi
602+
if ${script_dir}/setup.sh "${setup_args[@]}"; then
599603
# and recheck setup. If this fails exit.
600604
if ! check_setup; then
601605
exit 1

0 commit comments

Comments
 (0)