diff --git a/component/LkpTests/install.sh b/component/LkpTests/install.sh index 94ad9f6a610252c76ddcb92f388f0bf425398356..d20c6b24fcc1d4ce65d113a736c50f649c4d5a13 100644 --- a/component/LkpTests/install.sh +++ b/component/LkpTests/install.sh @@ -11,8 +11,8 @@ parser-3.1.2.1.gem parallel-1.22.1.gem minitest-5.15.0.gem i18n-1.12.0.gem gnupl concurrent-ruby-1.1.10.gem ci_reporter-2.0.0.gem bundler-2.2.33.gem builder-3.2.4.gem ast-2.4.2.gem activesupport-6.1.7.gem) function main() { - lkp_tar=$1 - gem_zip=$2 + lkp_tar=/tmp/devkitdependencies/lkp-tests.tar.gz + gem_zip=/tmp/devkitdependencies/gem_dependencies.zip if [[ ! -d /usr/share/gems/gems/gem_dependencies ]]; then unzip -d /usr/share/gems/gems ${gem_zip} fi diff --git a/tools/install_dependency/src/machine/machine.py b/tools/install_dependency/src/machine/machine.py index 2b171cb738c8d74908aa8f619420c76bf62af434..a39051fe6391a84e60c30fef65a7dbdebd25378d 100644 --- a/tools/install_dependency/src/machine/machine.py +++ b/tools/install_dependency/src/machine/machine.py @@ -229,7 +229,7 @@ class Machine: for shell_file in SHELL_FILE_LIST: sh_file_local_path = os.path.join(base_path("component"), component_name, shell_file) sh_file_remote_path = os.path.join("/tmp/", constant.DEPENDENCY_DIR, component_name + shell_file) - sh_cmd = f"bash {sh_file_remote_path} {remote_file_list[0]} {remote_file_list[1]}" + sh_cmd = f"bash {sh_file_remote_path}" execute_output = ( self.transport_shell_file_and_execute( ssh_client, sftp_client,