Skip to content

Commit 050aec0

Browse files
committed
ci: use selected kernel version for image creation
1 parent 323d449 commit 050aec0

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/debian.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,32 +82,31 @@ jobs:
8282
if: ${{ inputs.bpi-r2 }}
8383
run: |
8484
echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r2.conf
85-
./buildimg.sh bpi-r2 ${{ vars.DEBIAN_DIST }}
86-
./buildimg.sh bpi-r2 ${{ vars.DEBIAN_DIST }} 6.12
85+
./buildimg.sh bpi-r2 ${{ vars.DEBIAN_DIST }} ${{ inputs.kernel }}
8786
8887
- name: Build R64 Debian ${{ vars.DEBIAN_DIST }} Image
8988
if: ${{ inputs.bpi-r64 }}
9089
run: |
9190
echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r64.conf
92-
./buildimg.sh bpi-r64 ${{ vars.DEBIAN_DIST }}
91+
./buildimg.sh bpi-r64 ${{ vars.DEBIAN_DIST }} ${{ inputs.kernel }}
9392
9493
- name: Build R2Pro Debian ${{ vars.DEBIAN_DIST }} Image
9594
if: ${{ inputs.bpi-r2pro }}
9695
run: |
9796
echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r2pro.conf
98-
./buildimg.sh bpi-r2pro ${{ vars.DEBIAN_DIST }}
97+
./buildimg.sh bpi-r2pro ${{ vars.DEBIAN_DIST }} ${{ inputs.kernel }}
9998
10099
- name: Build R3 Debian ${{ vars.DEBIAN_DIST }} Image
101100
if: ${{ inputs.bpi-r3 }}
102101
run: |
103102
echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r3.conf
104-
./buildimg.sh bpi-r3 ${{ vars.DEBIAN_DIST }}
103+
./buildimg.sh bpi-r3 ${{ vars.DEBIAN_DIST }} ${{ inputs.kernel }}
105104
106105
- name: Build R3 Mini Debian ${{ vars.DEBIAN_DIST }} Image
107106
if: ${{ inputs.bpi-r3mini }}
108107
run: |
109108
echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r3mini.conf
110-
./buildimg.sh bpi-r3mini ${{ vars.DEBIAN_DIST }}
109+
./buildimg.sh bpi-r3mini ${{ vars.DEBIAN_DIST }} ${{ inputs.kernel }}
111110
112111
- name: Build R4 Debian ${{ vars.DEBIAN_DIST }} Image
113112
if: ${{ inputs.bpi-r4 }}
@@ -116,7 +115,7 @@ jobs:
116115
#echo -e "skipkerneldownload=1\nkernelfile=${{ env.R4Kernel }}" > sourcefiles_bpi-r4.conf
117116
echo -e "replacehostapd=1\nreplaceiperf=1" >> sourcefiles_bpi-r4.conf
118117
echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r4.conf
119-
./buildimg.sh bpi-r4 ${{ vars.DEBIAN_DIST }}
118+
./buildimg.sh bpi-r4 ${{ vars.DEBIAN_DIST }} ${{ inputs.kernel }}
120119
121120
- name: Upload to gdrive
122121
uses: adityak74/google-drive-upload-git-action@main

0 commit comments

Comments
 (0)