From 13d943eea6f09b6482a2091a7099f9bed07914ba Mon Sep 17 00:00:00 2001 From: Metin Kaya Date: Fri, 28 Jun 2024 15:00:56 +0100 Subject: [PATCH] install_base.sh: Fixup devlib parameter handling FIX devlib/tools/android/setup_host.sh installs extra packages (e.g., system images) by default (i.e., --install-all case). However, this is not desired from LISA's standpoint. Install only the required subset of Android SDK for LISA. Fixes: 8bbce4c268c8 ("install_base.sh: Offload Android SDK/tools installation to devlib") Signed-off-by: Metin Kaya --- install_base.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/install_base.sh b/install_base.sh index ce3048e6e..96533b0f2 100755 --- a/install_base.sh +++ b/install_base.sh @@ -207,14 +207,16 @@ for arg in "${args[@]}"; do handled=0 case "$arg" in - "--cleanup-android-sdk" | \ - "--install-android-tools" | \ - "--install-android-platform-tools" | \ - "--install-all") + "--cleanup-android-sdk" | "--install-android-platform-tools" ) devlib_params+=(${arg}) handled=1 ;;& + "--install-android-tools" | "--install-all" ) + devlib_params+=("--install-android-tools") + handled=1 + ;;& + "--install-doc-extras" | "--install-all") apt_packages+=(plantuml graphviz pandoc) # plantuml can be installed from the AUR -- GitLab