File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 if : ${{ inputs.bpi-r4 }}
9090 run : |
9191 #echo -e "skipkerneldownload=1\nkernelfile=${{ env.R4Kernel }}" > sourcefiles_bpi-r4.conf
92+ echo -e "replacehostapd=1\nreplaceiperf=1" > sourcefiles_bpi-r4.conf
9293 echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r4.conf
9394 ./buildimg.sh bpi-r4 ${{ vars.DEBIAN_DIST }}
9495
Original file line number Diff line number Diff line change @@ -61,27 +61,33 @@ jobs:
6161 - name : Build R2 Ubuntu ${{ vars.UBUNTU_DIST }} Image
6262 if : ${{ inputs.bpi-r2 }}
6363 run : |
64+ echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r2.conf
6465 ./buildimg.sh bpi-r2 ${{ vars.UBUNTU_DIST }}
6566 ./buildimg.sh bpi-r2 ${{ vars.UBUNTU_DIST }} 6.12
6667
6768 - name : Build R64 Ubuntu ${{ vars.UBUNTU_DIST }} Image
6869 if : ${{ inputs.bpi-r64 }}
6970 run : |
71+ echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r64.conf
7072 ./buildimg.sh bpi-r64 ${{ vars.UBUNTU_DIST }}
7173
7274 - name : Build R2Pro Ubuntu ${{ vars.UBUNTU_DIST }} Image
7375 if : ${{ inputs.bpi-r2pro }}
7476 run : |
77+ echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r2pro.conf
7578 ./buildimg.sh bpi-r2pro ${{ vars.UBUNTU_DIST }}
7679
7780 - name : Build R3 Ubuntu ${{ vars.UBUNTU_DIST }} Image
7881 if : ${{ inputs.bpi-r3 }}
7982 run : |
83+ echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r3.conf
8084 ./buildimg.sh bpi-r3 ${{ vars.UBUNTU_DIST }}
8185
8286 - name : Build R4 Ubuntu ${{ vars.UBUNTU_DIST }} Image
8387 if : ${{ inputs.bpi-r4 }}
8488 run : |
89+ echo -e "replacehostapd=1\nreplaceiperf=1" > sourcefiles_bpi-r4.conf
90+ echo -e "userpackages=\"${{ inputs.packages }}\"" >> sourcefiles_bpi-r4.conf
8591 ./buildimg.sh bpi-r4 ${{ vars.UBUNTU_DIST }}
8692
8793 - name : Upload to gdrive
Original file line number Diff line number Diff line change 1717fi
1818if [[ -n " $3 " ]] && [[ " $3 " =~ ^[1-9]\. [0-9]+$ ]]; then kernel=$3 ; fi
1919
20- if [[ " $board " == " bpi-r4" ]]; then
21- echo " replacehostapd=1" >> sourcefiles_${board} .conf
22- fi
23-
2420PACKAGE_Error=0
2521PACKAGES=$( dpkg -l | awk ' {print $2}' )
2622NEEDED_PKGS=" python3 python3-requests parted qemu-user-static debootstrap binfmt-support"
You can’t perform that action at this time.
0 commit comments