Skip to content

Commit 7118e37

Browse files
Test unicode bypass patch (#102)
1 parent 4b2afba commit 7118e37

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/actions/action.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -879,13 +879,17 @@ runs:
879879
echo "Hmbird not enabled, skipping fengchi patch"
880880
fi
881881
882-
patch -p1 --forward "../../../kernel_patches/common/optimized_mem_operations.patch"
883-
patch -p1 --forward "../../../kernel_patches/common/file_struct_8bytes_align.patch"
884-
patch -p1 --forward "../../../kernel_patches/common/reduce_cache_pressure.patch"
882+
patch -p1 --forward < "../../../kernel_patches/common/optimized_mem_operations.patch"
883+
patch -p1 --forward < "../../../kernel_patches/common/file_struct_8bytes_align.patch"
884+
patch -p1 --forward < "../../../kernel_patches/common/reduce_cache_pressure.patch"
885885
if [ "$(printf '%s\n' "$KERNEL_VERSION" "$MIN_VERSION" | sort -V | head -n1)" = "$KERNEL_VERSION" ]; then
886-
patch -p1 --forward "../../../kernel_patches/common/clear_page_16bytes_align.patch"
886+
patch -p1 --forward < "../../../kernel_patches/common/clear_page_16bytes_align.patch"
887+
echo "Patching unicode!"
888+
patch -p1 --forward < "../../../kernel_patches/common/unicode_bypass_fix_6.1-.patch"
887889
else
888890
cat "../../../kernel_patches/common/clear_page_16bytes_align.patch" | sed -e 's/SYM_FUNC_START_PI(clear_page)/SYM_FUNC_START_PI(__pi_clear_page)/' | patch -p1 -F3 --forward
891+
echo "Patching unicode!"
892+
patch -p1 --forward < "../../../kernel_patches/common/unicode_bypass_fix_6.1+.patch"
889893
fi
890894
891895
echo "✅ Other patches applied"

0 commit comments

Comments
 (0)