Skip to content

Commit 323d449

Browse files
committed
ci: add kernel 6.18 and allow setting variants
1 parent 86e2464 commit 323d449

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/debian.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ on:
2222
type: choice
2323
description: linux kernel
2424
options:
25+
- 6.18
2526
- 6.12
2627
- 6.6
2728
- 5.15
29+
variant:
30+
description: board variant (bpi-r4-2g5/bpi-r4pro/bpi-r4lite)
2831
bootdevice:
2932
type: choice
3033
description: Bootdevice
@@ -109,8 +112,9 @@ jobs:
109112
- name: Build R4 Debian ${{ vars.DEBIAN_DIST }} Image
110113
if: ${{ inputs.bpi-r4 }}
111114
run: |
115+
echo -e "variant=\"${{ inputs.variant }}\"" > sourcefiles_bpi-r4.conf
112116
#echo -e "skipkerneldownload=1\nkernelfile=${{ env.R4Kernel }}" > sourcefiles_bpi-r4.conf
113-
echo -e "replacehostapd=1\nreplaceiperf=1" > sourcefiles_bpi-r4.conf
117+
echo -e "replacehostapd=1\nreplaceiperf=1" >> sourcefiles_bpi-r4.conf
114118
echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r4.conf
115119
./buildimg.sh bpi-r4 ${{ vars.DEBIAN_DIST }}
116120

0 commit comments

Comments
 (0)