Skip to content

Commit d234d7e

Browse files
committed
Add scx support for OnePlus 13 Non CN kernels
1 parent d439c2e commit d234d7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/actions/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ runs:
266266
else
267267
echo "Kernel >= $MIN_VERSION, skipping ptrace patch"
268268
fi
269-
if [ "${{ inputs.model }}" == "OPAce5Pro" ] || [ "${{ inputs.model }}" == "OP13" ]; then
269+
if [ "${{ inputs.model }}" == "OPAce5Pro" ] || [ "${{ inputs.model }}" == "OP13" ] || [ "${{ inputs.model }}" = "OP13-GLO" ]; then
270270
echo "Patching hmbird!"
271271
echo 'obj-y += hmbird_patch.o' >> ./drivers/Makefile
272272
patch -p1 -F 3 < "../../../kernel_patches/oneplus/hmbird/hmbird_kernel_patch.patch"
@@ -275,7 +275,7 @@ runs:
275275
rm -rf ext.c ext.h build_policy.c slim.h slim_sysctl.c
276276
patch -p1 -F 3 < "../../../../../kernel_patches/oneplus/hmbird/hmbird_files_patch.patch"
277277
else
278-
echo "Not OPAce5Pro / OP13 , skipping fengchi patch"
278+
echo "Not OPAce5Pro / OP13 / OP13-GLO , skipping fengchi patch"
279279
fi
280280
281281
- name: Apply KSUN Hooks
@@ -489,7 +489,7 @@ runs:
489489
cd "$GITHUB_WORKSPACE/AnyKernel3"
490490

491491
# Optional hmbird patch logic
492-
if [ "${{ inputs.model }}" = "OPAce5Pro" ] || [ "${{ inputs.model }}" = "OP13" ]; then
492+
if [ "${{ inputs.model }}" = "OPAce5Pro" ] || [ "${{ inputs.model }}" = "OP13" ] || [ "${{ inputs.model }}" = "OP13-GLO" ]; then
493493
cp "$GITHUB_WORKSPACE/kernel_patches/oneplus/hmbird/bins/"* ./tools/ 2>/dev/null || true
494494
patch -F 3 < "$GITHUB_WORKSPACE/kernel_patches/oneplus/hmbird/ak3_hmbird_patch.patch"
495495
fi

0 commit comments

Comments
 (0)