ci: fix BAZEL build while remove protected module exports

This commit is contained in:
Rifat Azad
2025-05-01 01:02:25 +06:00
committed by GitHub
parent 9dbe135e66
commit 5565a6b3f8

View File

@@ -195,14 +195,15 @@ jobs:
sed -i 's/needs unknown symbol/Dont abort when unknown symbol/g' build/kernel/*.sh || echo "No unknown symbol scripts found"
fi
# - name: Make working directory clean to avoid dirty
# working-directory: android-kernel
# run: |
# rm common/android/abi_gki_protected_exports_* || echo "No protected exports!"
# git config --global user.email "bot@kernelsu.org"
# git config --global user.name "KernelSU-NextBot"
# cd common/ && git add -A && git commit -a -m "Add KernelSU-Next"
# repo status
- name: Make working directory clean to avoid dirty
working-directory: android-kernel
run: |
sed -i '/^[[:space:]]*"protected_exports_list"[[:space:]]*:[[:space:]]*"android\/abi_gki_protected_exports_aarch64",$/d' ./common/BUILD.bazel
rm common/android/abi_gki_protected_exports_* || echo "No protected exports!"
git config --global user.email "bot@kernelsu.org"
git config --global user.name "KernelSU-NextBot"
cd common/ && git add -A && git commit -a -m "Add KernelSU-Next"
repo status
- name: Build Kernel/LKM
working-directory: android-kernel
@@ -255,4 +256,4 @@ jobs:
if: ${{ inputs.build_lkm == true }}
with:
name: ${{ inputs.version }}-lkm
path: ./output/*_kernelsu.ko
path: ./output/*_kernelsu.ko