|
|
@@ -12,12 +12,13 @@ runs:
|
|
|
using: "composite"
|
|
|
steps:
|
|
|
- name: Patch with BBRv3
|
|
|
- if: false
|
|
|
+ if: inputs.kernel_version == '6.1'
|
|
|
shell: bash
|
|
|
working-directory: ${{ github.workspace }}/kernel/common
|
|
|
run: |
|
|
|
- cp "$GITHUB_WORKSPACE/kernel_patches/bbr/bbrv3-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch" "$GITHUB_WORKSPACE/kernel/common"
|
|
|
- patch -p1 < "bbrv3-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch"
|
|
|
+ set -euo pipefail
|
|
|
+ curl -L -o bbrv3.patch "https://github.com/ahmed-alnassif/GKI-Duchamp/blob/dev/kernel-patches/bbrv3/bbrv3.patch?raw=1"
|
|
|
+ patch -p1 --forward < bbrv3.patch
|
|
|
|
|
|
- name: Fix modules.bzl
|
|
|
shell: bash
|