Skip to content

Commit d84a967

Browse files
committed
Update model name from OP13 to OP13-CN
1 parent 634181e commit d84a967

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/actions/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ runs:
270270
else
271271
echo "Kernel >= $MIN_VERSION, skipping ptrace patch"
272272
fi
273-
if [ "${{ inputs.model }}" == "OPAce5Pro" ] || [ "${{ inputs.model }}" == "OP13" ] || [ "${{ inputs.model }}" == "OP13-GLO" ]; then
273+
if [ "${{ inputs.model }}" == "OPAce5Pro" ] || [ "${{ inputs.model }}" == "OP13-CN" ] || [ "${{ inputs.model }}" == "OP13-GLO" ]; then
274274
echo "Patching hmbird!"
275275
echo 'obj-y += hmbird_patch.o' >> ./drivers/Makefile
276276
patch -p1 -F 3 < "../../../kernel_patches/oneplus/hmbird/hmbird_kernel_patch.patch"
@@ -279,7 +279,7 @@ runs:
279279
rm -rf ext.c ext.h build_policy.c slim.h slim_sysctl.c
280280
patch -p1 -F 3 < "../../../../../kernel_patches/oneplus/hmbird/hmbird_files_patch.patch"
281281
else
282-
echo "Not OPAce5Pro / OP13 / OP13-GLO , skipping fengchi patch"
282+
echo "Not OPAce5Pro / OP13-CN / OP13-GLO , skipping fengchi patch"
283283
fi
284284
285285
- name: Apply KSUN Hooks
@@ -493,7 +493,7 @@ runs:
493493
cd "$GITHUB_WORKSPACE/AnyKernel3"
494494

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

.github/workflows/build-kernel-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
manifest: oneplus_11_v.xml
6767
android_version: android13
6868
kernel_version: '5.15'
69-
- model: OP13
69+
- model: OP13-CN
7070
soc: sun
7171
branch: oneplus/sm8750
7272
manifest: oneplus_13.xml

0 commit comments

Comments
 (0)