Skip to content

Commit

Permalink
v9.10
Browse files Browse the repository at this point in the history
- CI | Armbian: Build own kernel package for Orange Pi 5 Max with package name suffix, to enable onboard WiFi support: #7338
  • Loading branch information
MichaIng committed Jan 6, 2025
1 parent 522abbd commit 1b26497
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/armbian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ jobs:
git fetch origin main
git rebase origin/main
fi
# Workaround for onboard WiFi on Orange Pi 5 Max
if [ '${{ github.event.inputs.board }}' = 'orangepi5-max' ] && [ '${{ github.event.inputs.asset }}' = 'kernel' ]
then
git cherry-pick origin/orangepi5max || git cherry-pick dietpi/orangepi5max
fi
- name: Obtain version suffix
run: |
cd build
Expand All @@ -82,6 +87,10 @@ jobs:
;;
*) echo 'ERROR: Invalid asset "${{ github.event.inputs.asset }}"'; exit 1;;
esac
if [ '${{ github.event.inputs.board }}' = 'orangepi5-max' ] && [ '${{ github.event.inputs.asset }}' = 'kernel' ]
then
package="${package}_orangepi5max"
fi
if curl -fO "https://dietpi.com/downloads/binaries/$package.deb"
then
cur_version=$(dpkg-deb -f "$package.deb" Version)
Expand Down Expand Up @@ -112,6 +121,10 @@ jobs:
for i in *
do
mv -v "$i" "${i%%_*}.deb"
if [ '${{ github.event.inputs.board }}' = 'orangepi5-max' ] && [ '${{ github.event.inputs.asset }}' = 'kernel' ]
then
mv -v "$i" "${i%.deb}_orangepi5max.deb"
fi
i="${i%%_*}.deb"
files="$files,$i"
urls="$urls,\"https://dietpi.com/downloads/binaries/testing/$i\""
Expand Down

0 comments on commit 1b26497

Please sign in to comment.