Преглед изворни кода

Refactor patch commands and comments in action.yml

Updated comments for clarity and modified patch commands to indicate attempts with rewrites.
jimsterino98 пре 2 месеци
родитељ
комит
a78517ab5a
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      .github/actions/optimization/action.yml

+ 4 - 2
.github/actions/optimization/action.yml

@@ -14,9 +14,11 @@ runs:
      cd "$COMMON"
      MIN_VERSION="5.16"
 
-     # CAUSES COMPILE ERROR-p1 -F 3 < "$KERNEL_PATCHES/common/add_limitation_scaling_min_freq.patch"
+     # trying with rewrite
+     patch -p1 -F 3 < "$KERNEL_PATCHES/common/add_limitation_scaling_min_freq.patch"
      # PATCH FAILS ON ONEUI 8.5patch -p1 -F 3 < "$KERNEL_PATCHES/common/avoid_extra_s2idle_wake_attempts.patch"
-     #patch fails on all hunks for all devices patch -p1 -F 3 < "$KERNEL_PATCHES/common/re_write_limitation_scaling_min_freq.patch"
+     #patch fails on all hunks for all devices trying with rewrite
+     patch -p1 -F 3 < "$KERNEL_PATCHES/common/re_write_limitation_scaling_min_freq.patch"
      #patch fails for all devices patch -p1 -F 3 < "$KERNEL_PATCHES/common/use_unlikely_wrap_cpufreq.patch"
 
      #good patches that work