Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gki-kernel.yml #74

Merged
merged 1 commit into from
Mar 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions .github/workflows/gki-kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ jobs:
elif [ "${{ inputs.kernelsu_variant }}" == "Next" ]; then
echo "Applying SUSFS patches for KernelSU-Next..."
cd ./KernelSU-Next
cp ../../kernel_patches/0001-kernel-patch-susfs-v1.5.5-to-KernelSU-Next-v1.0.5.patch ./
cp ../../kernel_patches/next/0001-kernel-patch-susfs-v1.5.5-to-KernelSU-Next-v1.0.5.patch ./
patch -p1 --forward < 0001-kernel-patch-susfs-v1.5.5-to-KernelSU-Next-v1.0.5.patch || true
elif [ "${{ inputs.kernelsu_variant }}" == "MKSU" ]; then
echo "Applying SUSFS patches for MKSU..."
Expand All @@ -253,9 +253,20 @@ jobs:
run: |
echo "Changing to configuration directory: $CONFIG..."
cd "$CONFIG/common"
# Apply additional patch
cp ../../kernel_patches/new_hooks.patch ./
patch -p1 -F 3 < new_hooks.patch

if [ "${{ inputs.kernelsu_variant }}" == "Official" ]; then
echo "Applying hooks for Official KernelSU..."
cp ../../kernel_patches/hooks/ksu_hooks.patch ./
patch -p1 -F 3 < ksu_hooks.patch
elif [ "${{ inputs.kernelsu_variant }}" == "Next" ]; then
echo "Applying hooks for KernelSU-Next..."
cp ../../kernel_patches/hooks/new_hooks.patch ./
patch -p1 -F 3 < new_hooks.patch
elif [ "${{ inputs.kernelsu_variant }}" == "MKSU" ]; then
echo "Applying hooks for MKSU..."
cp ../../kernel_patches/hooks/ksu_hooks.patch ./
patch -p1 -F 3 < ksu_hooks.patch
fi

- name: Apply Hide Stuff Patches
run: |
Expand Down
Loading