Skip to content

Commit 2cbbee2

Browse files
committed
Update to support v1.5.11 susfs
1 parent 7032b84 commit 2cbbee2

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/actions/action.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ runs:
231231
cp "../../../kernel_patches/next/susfs_fix_patches/$susfs_version/fix_ksud.c.patch" ./
232232
patch -p1 --forward --fuzz=3 < fix_ksud.c.patch
233233
;;
234-
"v1.5.9")
234+
"v1.5.9"|"v1.5.10"|"v1.5.11")
235235
cp ../../../susfs4ksu/kernel_patches/KernelSU/10_enable_susfs_for_ksu.patch ./
236236
patch -p1 --forward < 10_enable_susfs_for_ksu.patch || true
237237
for file in $(find ./kernel -maxdepth 2 -name "*.rej" -printf "%f\n" | cut -d'.' -f1); do
@@ -240,15 +240,6 @@ runs:
240240
done
241241
patch -p1 --forward < "../../../kernel_patches/next/susfs_fix_patches/$susfs_version/fix_kernel_compat.c.patch"
242242
;;
243-
"v1.5.10"|"v1.5.11")
244-
cp ../../../susfs4ksu/kernel_patches/KernelSU/10_enable_susfs_for_ksu.patch ./
245-
patch -p1 --forward < 10_enable_susfs_for_ksu.patch || true
246-
for file in $(find ./kernel -maxdepth 2 -name "*.rej" -printf "%f\n" | cut -d'.' -f1); do
247-
echo "Patching file: $file.c with fix_$file.c.patch"
248-
patch -p1 --forward < "../../../kernel_patches/next/susfs_fix_patches/v1.5.10/fix_$file.c.patch"
249-
done
250-
patch -p1 --forward < "../../../kernel_patches/next/susfs_fix_patches/v1.5.10/fix_kernel_compat.c.patch"
251-
;;
252243
*)
253244
echo "Invalid version: $susfs_version"
254245
exit 1

0 commit comments

Comments
 (0)