|
|
@@ -16,12 +16,20 @@ runs:
|
|
|
steps:
|
|
|
- name: 'Apply BBRv3'
|
|
|
shell: bash
|
|
|
- if: false
|
|
|
+ if: true
|
|
|
working-directory: ${{ github.workspace }}/kernel/common
|
|
|
run: |
|
|
|
set -euo pipefail
|
|
|
- PATCH_URL="https://raw.githubusercontent.com/fatalcoder524/kernel_patches_additional/refs/heads/main/bbr3/0001-net-tcp-backport-BBRv3-to-${{ inputs.version }}.patch"
|
|
|
- if curl -f -Ls "$PATCH_URL" -o temp.patch; then
|
|
|
+ if [[ ${{ inputs.version }} == "android16-6.12" ]]; then
|
|
|
+ cp "${{ github.workspace }}/kernel_patches/common/bbrv3/0001-net-tcp-backport-BBRv3-to-android15-6.6.patch" temp.patch
|
|
|
+ patch -p1 -F 3 < temp.patch
|
|
|
+ rm temp.patch
|
|
|
+ elif [[ ${{ inputs.version }} == "android13-5.10" ]]; then
|
|
|
+ cp "${{ github.workspace }}/kernel_patches/common/bbrv3/0001-net-tcp-backport-BBRv3-to-android12-5.10.patch" temp.patch
|
|
|
+ patch -p1 -F 3 < temp.patch
|
|
|
+ rm temp.patch
|
|
|
+ else
|
|
|
+ cp "${{ github.workspace }}/kernel_patches/common/bbrv3/0001-net-tcp-backport-BBRv3-to-${{ inputs.version }}.patch" temp.patch
|
|
|
patch -p1 -F 3 < temp.patch
|
|
|
rm temp.patch
|
|
|
fi
|
|
|
@@ -29,7 +37,7 @@ runs:
|
|
|
echo "✅ BBRv3 patches applied"
|
|
|
|
|
|
- name: Enable Kernel Configs
|
|
|
- if: false
|
|
|
+ if: true
|
|
|
uses: ./.github/actions/set-kernel-config
|
|
|
with:
|
|
|
config_list: |
|