Skip to content

Commit 400a33c

Browse files
committed
ci: debian: add userpackages option
1 parent 39d5b19 commit 400a33c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/debian.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ on:
1414
type: boolean
1515
bpi-r4:
1616
type: boolean
17+
packages:
18+
description: additional packages (separated by space)
1719

1820
jobs:
1921
debian-gdrive-upload:
@@ -61,28 +63,33 @@ jobs:
6163
- name: Build R2 Debian ${{ vars.DEBIAN_DIST }} Images
6264
if: ${{ inputs.bpi-r2 }}
6365
run: |
66+
echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r2.conf
6467
./buildimg.sh bpi-r2 ${{ vars.DEBIAN_DIST }}
6568
./buildimg.sh bpi-r2 ${{ vars.DEBIAN_DIST }} 6.12
6669
6770
- name: Build R64 Debian ${{ vars.DEBIAN_DIST }} Image
6871
if: ${{ inputs.bpi-r64 }}
6972
run: |
73+
echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r64.conf
7074
./buildimg.sh bpi-r64 ${{ vars.DEBIAN_DIST }}
7175
7276
- name: Build R2Pro Debian ${{ vars.DEBIAN_DIST }} Image
7377
if: ${{ inputs.bpi-r2pro }}
7478
run: |
79+
echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r2pro.conf
7580
./buildimg.sh bpi-r2pro ${{ vars.DEBIAN_DIST }}
7681
7782
- name: Build R3 Debian ${{ vars.DEBIAN_DIST }} Image
7883
if: ${{ inputs.bpi-r3 }}
7984
run: |
85+
echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r3.conf
8086
./buildimg.sh bpi-r3 ${{ vars.DEBIAN_DIST }}
8187
8288
- name: Build R4 Debian ${{ vars.DEBIAN_DIST }} Image
8389
if: ${{ inputs.bpi-r4 }}
8490
run: |
8591
#echo -e "skipkerneldownload=1\nkernelfile=${{ env.R4Kernel }}" > sourcefiles_bpi-r4.conf
92+
echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r4.conf
8693
./buildimg.sh bpi-r4 ${{ env.DEBIAN_DIST }}
8794
8895
- name: Upload to gdrive

0 commit comments

Comments
 (0)