File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ d=`dirname ${BASH_SOURCE[0]}`
55kernel=$1
66modules=$2
77selftests=$3
8+ no_decompress=${4:- " " }
89output_dir=/build/my-linux
910modules_dir=${output_dir} /modules
1011kselftest_dir=${output_dir} /kselftest
@@ -15,8 +16,11 @@ mkdir -p ${modules_dir}
1516curl -L $kernel -o ${output_dir} /Image
1617if [[ -n $modules ]]
1718then
18- curl -L $modules -o modules.tar.xz && \
19- tar xvf modules.tar.xz -C ${modules_dir}
19+ curl -L $modules -o ${modules_dir} /modules.tar.xz
20+ if [[ $no_decompress != " --nodecompress" ]]
21+ then
22+ tar xvf ${modules_dir} /modules.tar.xz -C ${modules_dir}
23+ fi
2024fi
2125if [[ -n $selftests ]]
2226then
Original file line number Diff line number Diff line change 4545 - name : Setup workdir
4646 run : |
4747 mkdir -p /build/my-linux
48- bash .github/scripts/download_files.sh "${{ inputs.kernel-url }}" "${{ inputs.modules-url }}"
48+ bash .github/scripts/download_files.sh "${{ inputs.kernel-url }}" "${{ inputs.modules-url }}" "" --nodecompress
4949 - name : Run LTP
5050 run : |
5151 b=$(pwd)
You can’t perform that action at this time.
0 commit comments