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]}`
5
5
kernel=$1
6
6
modules=$2
7
7
selftests=$3
8
+ no_decompress=${4:- " " }
8
9
output_dir=/build/my-linux
9
10
modules_dir=${output_dir} /modules
10
11
kselftest_dir=${output_dir} /kselftest
@@ -15,8 +16,11 @@ mkdir -p ${modules_dir}
15
16
curl -L $kernel -o ${output_dir} /Image
16
17
if [[ -n $modules ]]
17
18
then
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
20
24
fi
21
25
if [[ -n $selftests ]]
22
26
then
Original file line number Diff line number Diff line change 45
45
- name : Setup workdir
46
46
run : |
47
47
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
49
49
- name : Run LTP
50
50
run : |
51
51
b=$(pwd)
You can’t perform that action at this time.
0 commit comments