From f7c82ecfc165172afc9866f5fb9629f06f486f74 Mon Sep 17 00:00:00 2001 From: zoupanpan Date: Mon, 1 Apr 2024 09:08:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=8E=8B=E6=97=B6=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=B1=9E=E4=B8=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- component/A-FOT/install.sh | 2 +- component/BiShengCompiler/install.sh | 2 +- component/BiShengJDK17/install.sh | 2 +- component/BiShengJDK8/install.sh | 2 +- component/CompatibilityTesting/install.sh | 2 +- component/DevkitDistribute/install.sh | 2 +- component/GCCforOpenEuler/install.sh | 2 +- component/LkpTests/install.sh | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/component/A-FOT/install.sh b/component/A-FOT/install.sh index 8f0157e..5d1e752 100644 --- a/component/A-FOT/install.sh +++ b/component/A-FOT/install.sh @@ -7,7 +7,7 @@ if [[ ! -d ${HOME}/.local/a-fot ]]; then mkdir -p ${HOME}/.local echo "Decompress a-fot.tar.gz to ${HOME}/.local" - tar -zxf /tmp/devkitdependencies/a-fot.tar.gz -C ${HOME}/.local + tar --no-same-owner -zxf /tmp/devkitdependencies/a-fot.tar.gz -C ${HOME}/.local chmod 750 -R ${HOME}/.local/a-fot echo "Decompress a-fot.tar.gz to ${HOME}/.local finished." fi diff --git a/component/BiShengCompiler/install.sh b/component/BiShengCompiler/install.sh index 3990cdd..c17dd9f 100644 --- a/component/BiShengCompiler/install.sh +++ b/component/BiShengCompiler/install.sh @@ -7,7 +7,7 @@ if [[ ${verify_signature} -eq "0" ]]; then mkdir -p ${HOME}/.local echo "Decompress BiShengCompiler-3.2.0-aarch64-linux.tar.gz to ${HOME}/.local" - tar -zxf /tmp/devkitdependencies/BiShengCompiler-3.2.0-aarch64-linux.tar.gz -C ${HOME}/.local + tar --no-same-owner -zxf /tmp/devkitdependencies/BiShengCompiler-3.2.0-aarch64-linux.tar.gz -C ${HOME}/.local echo "Decompress BiShengCompiler-3.2.0-aarch64-linux.tar.gz to ${HOME}/.local finished." fi diff --git a/component/BiShengJDK17/install.sh b/component/BiShengJDK17/install.sh index 4ce4813..5988ded 100644 --- a/component/BiShengJDK17/install.sh +++ b/component/BiShengJDK17/install.sh @@ -7,7 +7,7 @@ if [[ ${verify_signature} -eq "0" ]]; then mkdir -p ${HOME}/.local echo "Decompress bisheng-jdk-17.0.10-linux-aarch64.tar.gz to ${HOME}/.local" - tar -zxf /tmp/devkitdependencies/bisheng-jdk-17.0.10-linux-aarch64.tar.gz -C ${HOME}/.local + tar --no-same-owner -zxf /tmp/devkitdependencies/bisheng-jdk-17.0.10-linux-aarch64.tar.gz -C ${HOME}/.local echo "Decompress bisheng-jdk-17.0.10-linux-aarch64.tar.gz to ${HOME}/.local finished." fi diff --git a/component/BiShengJDK8/install.sh b/component/BiShengJDK8/install.sh index e17caf6..5d3a718 100644 --- a/component/BiShengJDK8/install.sh +++ b/component/BiShengJDK8/install.sh @@ -7,7 +7,7 @@ if [[ ${verify_signature} -eq "0" ]]; then mkdir -p ${HOME}/.local echo "Decompress bisheng-jdk-8u402-linux-aarch64.tar.gz to ${HOME}/.local" - tar -zxf /tmp/devkitdependencies/bisheng-jdk-8u402-linux-aarch64.tar.gz -C ${HOME}/.local + tar --no-same-owner -zxf /tmp/devkitdependencies/bisheng-jdk-8u402-linux-aarch64.tar.gz -C ${HOME}/.local echo "Decompress bisheng-jdk-8u402-linux-aarch64.tar.gz to ${HOME}/.local finished." fi diff --git a/component/CompatibilityTesting/install.sh b/component/CompatibilityTesting/install.sh index 06c7ac8..f0cb4b8 100644 --- a/component/CompatibilityTesting/install.sh +++ b/component/CompatibilityTesting/install.sh @@ -6,7 +6,7 @@ set -e function main (){ compatibility_test_tar=$1 echo "Decompress compatibility_testing.tar.gz to ${HOME}/.local" - tar -zxf ${compatibility_test_tar} -C ${HOME}/.local/ + tar --no-same-owner -zxf ${compatibility_test_tar} -C ${HOME}/.local/ echo "Decompress compatibility_testing.tar.gz to ${HOME}/.local finished." } diff --git a/component/DevkitDistribute/install.sh b/component/DevkitDistribute/install.sh index d4f0567..3d2a3b8 100644 --- a/component/DevkitDistribute/install.sh +++ b/component/DevkitDistribute/install.sh @@ -6,7 +6,7 @@ set -e function main (){ devkit_distribute_tar=$1 echo "Decompress devkit_distribute.tar.gz to ${HOME}/.local/lkp-tests/programs" - tar -zxf "${devkit_distribute_tar}" -C "${HOME}"/.local/lkp-tests/programs + tar --no-same-owner -zxf "${devkit_distribute_tar}" -C "${HOME}"/.local/lkp-tests/programs chmod 755 "${HOME}"/.local/lkp-tests/programs/devkit_distribute/bin/start.sh ln -s "${HOME}"/.local/lkp-tests/programs/devkit_distribute/bin/start.sh "${HOME}"/.local/lkp-tests/tests/devkit_distribute echo "Decompress devkit_distribute.tar.gz to ${HOME}/.local finished." diff --git a/component/GCCforOpenEuler/install.sh b/component/GCCforOpenEuler/install.sh index 70ca281..79a0409 100644 --- a/component/GCCforOpenEuler/install.sh +++ b/component/GCCforOpenEuler/install.sh @@ -7,7 +7,7 @@ if [[ ${verify_signature} -eq "0" ]]; then mkdir -p ${HOME}/.local echo "Decompress gcc-10.3.1-2023.12-aarch64-linux.tar.gz to ${HOME}/.local" - tar -zxf /tmp/devkitdependencies/gcc-10.3.1-2023.12-aarch64-linux.tar.gz -C ${HOME}/.local + tar --no-same-owner -zxf /tmp/devkitdependencies/gcc-10.3.1-2023.12-aarch64-linux.tar.gz -C ${HOME}/.local echo "Decompress gcc-10.3.1-2023.12-aarch64-linux.tar.gz to ${HOME}/.local finished." fi diff --git a/component/LkpTests/install.sh b/component/LkpTests/install.sh index bcd3ae1..1a307a5 100644 --- a/component/LkpTests/install.sh +++ b/component/LkpTests/install.sh @@ -21,7 +21,7 @@ function main() { gem install --local ${each} done mkdir -p "${HOME}"/.local/ - tar -zxf ${lkp_tar} -C "${HOME}"/.local/ + tar --no-same-owner -zxf ${lkp_tar} -C "${HOME}"/.local/ cd "${HOME}"/.local/lkp-tests/ chmod +x "${HOME}"/.local/lkp-tests/bin/lkp make -- Gitee