mirror of
https://github.com/Dichgrem/GKI-build.git
synced 2025-12-18 14:42:00 -05:00
fix:build_step
This commit is contained in:
29
.github/workflows/build-gki-kernel.yml
vendored
29
.github/workflows/build-gki-kernel.yml
vendored
@@ -456,7 +456,6 @@ jobs:
|
|||||||
BUILD_ARGS="-j${TH_COUNT} ${DEF_ARGS}"
|
BUILD_ARGS="-j${TH_COUNT} ${DEF_ARGS}"
|
||||||
|
|
||||||
echo "=== Start make (logging to ${OUT}/error.log) ==="
|
echo "=== Start make (logging to ${OUT}/error.log) ==="
|
||||||
chmod -R 777 *
|
|
||||||
rm android/abi_gki_protected_exports_* || true
|
rm android/abi_gki_protected_exports_* || true
|
||||||
make ${BUILD_ARGS} 2>&1 | tee ${OUT}/error.log || true
|
make ${BUILD_ARGS} 2>&1 | tee ${OUT}/error.log || true
|
||||||
|
|
||||||
@@ -468,20 +467,6 @@ jobs:
|
|||||||
echo "Build finished at: $endtime"
|
echo "Build finished at: $endtime"
|
||||||
echo "=== Build step finished (check out/error.log for full log) ==="
|
echo "=== Build step finished (check out/error.log for full log) ==="
|
||||||
|
|
||||||
- name: Apply KPM patches
|
|
||||||
run: |
|
|
||||||
if [[ "${{ inputs.enable_kpm }}" == "true" && "${{ inputs.root_solution }}" == "sukisu" ]]; then
|
|
||||||
cd $GITHUB_WORKSPACE/kernel/android_kernel_oneplus_sm8650/out/arch/arm64/boot
|
|
||||||
curl -LSs "https://raw.githubusercontent.com/SukiSU-Ultra/SukiSU_patch/refs/heads/main/kpm/patch_linux" -o patch
|
|
||||||
chmod 777 patch
|
|
||||||
./patch
|
|
||||||
rm -rf Image
|
|
||||||
mv oImage Image
|
|
||||||
echo "✅ KPM patch finished"
|
|
||||||
else
|
|
||||||
echo "ℹ️ SCHED skipped"
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Check build results
|
- name: Check build results
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
@@ -505,6 +490,20 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Apply KPM patches
|
||||||
|
run: |
|
||||||
|
if [[ "${{ inputs.enable_kpm }}" == "true" && "${{ inputs.root_solution }}" == "sukisu" ]]; then
|
||||||
|
cd $GITHUB_WORKSPACE/kernel/android_kernel_oneplus_sm8650/out/arch/arm64/boot
|
||||||
|
curl -LSs "https://raw.githubusercontent.com/SukiSU-Ultra/SukiSU_patch/refs/heads/main/kpm/patch_linux" -o patch
|
||||||
|
chmod 777 patch
|
||||||
|
./patch
|
||||||
|
rm -rf Image
|
||||||
|
mv oImage Image
|
||||||
|
echo "✅ KPM patch finished"
|
||||||
|
else
|
||||||
|
echo "ℹ️ SCHED skipped"
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Replace Image in anykernel3
|
- name: Replace Image in anykernel3
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
|
|||||||
Reference in New Issue
Block a user