Sfoglia il codice sorgente

Update variable names for Android and kernel versions

jimsterino98 1 mese fa
parent
commit
404708f26e
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5 5
      .github/actions/zeromount/action.yml

+ 5 - 5
.github/actions/zeromount/action.yml

@@ -17,10 +17,10 @@ runs:
      echo "adding zeromount..."
             
       cd "$COMMON"
-      cp "$ZEROMOUNT/$ANDROID_VERSION-$KERNEL_VERSION/WildKSU/patches/60_zeromount-$ANDROID_VERSION-$KERNEL_VERSION.patch" .
-      #patch -p1 < 51_enhanced_susfs_gki-$ANDROID_VERSION-$KERNEL_VERSION.patch || true
-      patch -p1 < 60_zeromount-$ANDROID_VERSION-$KERNEL_VERSION.patch || true
-      rm -rf 60_zeromount-$ANDROID_VERSION-$KERNEL_VERSION.patch
+      cp "$ZEROMOUNT/$ANDROID_VER-$KERNEL_VER/WildKSU/patches/60_zeromount-$ANDROID_VER-$KERNEL_VER.patch" .
+      #patch -p1 < 51_enhanced_susfs_gki-$ANDROID_VER-$KERNEL_VER.patch || true
+      patch -p1 < 60_zeromount-$ANDROID_VER-$KERNEL_VER.patch || true
+      rm -rf 60_zeromount-$ANDROID_VER-$KERNEL_VER.patch
 
       if [ -f fs/proc/task_mmu.c.rej ]; then
         echo "Fixing task_mmu.c..."
@@ -46,7 +46,7 @@ runs:
             perl -0pi -e 's@(config IO_WQ\n\tbool\n)@\1\nconfig ZEROMOUNT\n\tbool "ZeroMount Path Redirection Subsystem"\n\tdefault y\n\thelp\n\t  ZeroMount allows path redirection and virtual file injection\n\t  without mounting filesystems. Useful for systemless modifications.\n\n@' fs/Kconfig
         fi
       fi
-      #patch -p1 < 70_ksu_safety-wksu-$KERNEL_VERSION.patch || true
+      #patch -p1 < 70_ksu_safety-wksu-$KERNEL_VER.patch || true
 
   - name: apply zeromount patches
     shell: bash