Skip to content

Commit

Permalink
Adjust the default kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Jan 16, 2022
1 parent 3970e33 commit baf51c3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-armbian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ jobs:
if: steps.compile.outputs.status == 'success' && !cancelled()
run: |
sudo chmod +x rebuild
sudo ./rebuild -d -b s905x3_s905x -k 5.4.170_5.15.13 -v dev
sudo rm -rf build-armbian/amlogic-kernel/* && sync
sudo ./rebuild -d -b s922x_s922x-n2_s922x-reva_s905d_s912_s912-t95z_s905x2_s905_s905d-ki -k 5.4.170_5.15.13
#sudo ./rebuild -d -b s905x3_s905x -k 5.4.170_5.15.13 -v dev
#sudo rm -rf build-armbian/amlogic-kernel/* && sync
sudo ./rebuild -d -b s922x_s922x-n2_s922x-reva_s905d_s912_s912-t95z_s905x2_s905_s905d-ki_s905x3_s905x -k 5.4.170_5.15.13
sudo ./rebuild -d -b s905w -k 5.4.170
cd build/output/images/ && sudo gzip *.img && sync
echo "FILEPATH=$PWD" >> $GITHUB_ENV
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/use-releases-file-to-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ jobs:
cd ${GITHUB_WORKSPACE}
sudo chmod +x rebuild
sudo ./rebuild -d -b s905x3_s905x -k 5.4.170_5.15.13 -v dev
sudo rm -rf build-armbian/amlogic-kernel/* && sync
sudo ./rebuild -d -b s922x_s922x-n2_s922x-reva_s905d_s912_s912-t95z_s905x2_s905_s905d-ki -k 5.4.170_5.15.13
#sudo ./rebuild -d -b s905x3_s905x -k 5.4.170_5.15.13 -v dev
#sudo rm -rf build-armbian/amlogic-kernel/* && sync
sudo ./rebuild -d -b s922x_s922x-n2_s922x-reva_s905d_s912_s912-t95z_s905x2_s905_s905d-ki_s905x3_s905x -k 5.4.170_5.15.13
sudo ./rebuild -d -b s905w -k 5.4.170
cd ./build/output/images && sudo gzip *.img && sync
echo "FILEPATH=$PWD" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions rebuild
Original file line number Diff line number Diff line change
Expand Up @@ -475,9 +475,9 @@ copy_files() {
interfaces_file="etc/network/interfaces"
[ -f "${interfaces_file}" ] && sed -i "s|hwaddress ether.*|hwaddress ether ${random_macaddr}:AA|g" ${interfaces_file}

# Add rtl8189fs driver for s905x(HG680P & B860H), rtl8822cs driver for s905x3(x96max+) in the dev branch of the kernel repo
# Add rtl8189fs & 8188fu driver for s905x(HG680P & B860H), rtl8822cs driver for s905x3(x96max+) in the dev branch kernel
[[ "${build_soc}" == "s905x3" || "${build_soc}" == "s905x" ]] && {
sed -i "s|version_branch=\"stable\"|version_branch=\"dev\"|g" usr/sbin/armbian-update
#sed -i "s|version_branch=\"stable\"|version_branch=\"dev\"|g" usr/sbin/armbian-update
}

# Optimize wifi/bluetooth module
Expand Down

0 comments on commit baf51c3

Please sign in to comment.