Skip to content

Commit 59fcb18

Browse files
committed
Test old patch mod
1 parent 9b2ea31 commit 59fcb18

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/actions/action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,13 +209,16 @@ runs:
209209
echo "Kernel >= $MIN_VERSION, skipping ptrace patch"
210210
fi
211211
212+
echo "Patching hmdird!"
213+
echo 'obj-y += hmbird_fdt.o' >> ./drivers/Makefile
214+
curl -Ls https://raw.githubusercontent.com/fatalcoder524/kernel_patches_additional/refs/heads/main/hmbird_fdt.c -o ./drivers/hmbird_fdt.c
212215
if [ "${{ inputs.model }}" == "OPAce5Pro" ] || [ "${{ inputs.model }}" == "OP13" ] || [ "${{ inputs.model }}" == "OP12" ]; then
213216
echo "Patching hmdird!"
214217
#curl -Ls https://raw.githubusercontent.com/Plan2241/HMBird-GKI-patch/main/boot.patch | patch -p1 -F 3 --verbose
215218
# echo 'obj-y += hmbird_patch.o' >> ./drivers/Makefile
216219
# curl -Ls https://raw.githubusercontent.com/Numbersf/Action-Build/refs/heads/SukiSU-Ultra/patches/hmbird_patch.patch | patch -p1 -F 3 --verbose
217-
echo 'obj-y += hmbird_fdt.o' >> ./drivers/Makefile
218-
curl -Ls https://raw.githubusercontent.com/fatalcoder524/kernel_patches_additional/refs/heads/main/hmbird_fdt.c -o ./drivers/hmbird_fdt.c
220+
# echo 'obj-y += hmbird_fdt.o' >> ./drivers/Makefile
221+
# curl -Ls https://raw.githubusercontent.com/fatalcoder524/kernel_patches_additional/refs/heads/main/hmbird_fdt.c -o ./drivers/hmbird_fdt.c
219222
echo "Patching hmbird files!"
220223
# curl -Ls https://github.com/schqiushui/android_kernel_common_oneplus_sm8750/commit/5d2cc9706a35f5e4b5dbbd5d247487225a46e02c.patch | patch -p1 -F 3
221224
cd ./kernel/sched

0 commit comments

Comments
 (0)