Skip to content

Commit d030dce

Browse files
authored
Update sultan.yml
1 parent 6b1a521 commit d030dce

File tree

1 file changed

+10
-22
lines changed

1 file changed

+10
-22
lines changed

.github/workflows/sultan.yml

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ jobs:
6464
# Clone repositories using the branch names
6565
git clone https://github.com/TheWildJames/AnyKernel3.git -b "$ANYKERNEL_BRANCH"
6666
git clone https://gitlab.com/simonpunk/susfs4ksu.git -b "$SUSFS_BRANCH"
67-
#cd susfs4ksu
68-
#git checkout b5c3ada461a61c6ad033693b7a00494ead3a28fd
69-
#cd ..
7067
git clone https://github.com/TheWildJames/kernel_patches.git
7168
git clone https://github.com/kerneltoast/${{ inputs.repo }}
7269
@@ -76,7 +73,7 @@ jobs:
7673
cd "$CONFIG"
7774
7875
echo "Adding KernelSU..."
79-
curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/next/kernel/setup.sh" | bash -s next
76+
curl -LSs "https://raw.githubusercontent.com/WildKernels/Wild_KSU/wild/kernel/setup.sh" | bash -s wild
8077
8178
- name: Apply SUSFS Patches
8279
run: |
@@ -90,32 +87,23 @@ jobs:
9087
cp ../susfs4ksu/kernel_patches/fs/* ./fs/
9188
cp ../susfs4ksu/kernel_patches/include/linux/* ./include/linux/
9289
93-
cd ./KernelSU-Next
90+
cd ./Wild_KSU
9491
95-
echo "Applying next SUSFS patches..."
92+
echo "Applying wild SUSFS patches..."
9693
cp ../../susfs4ksu/kernel_patches/KernelSU/10_enable_susfs_for_ksu.patch ./
9794
patch -p1 --forward < 10_enable_susfs_for_ksu.patch || true
9895
99-
echo "Applying next SUSFS Fix patches..."
100-
cp ../../kernel_patches/next/susfs_fix_patches/v1.5.9/fix_apk_sign.c.patch ./
101-
patch -p1 --forward < fix_apk_sign.c.patch
102-
103-
cp ../../kernel_patches/next/susfs_fix_patches/v1.5.9/fix_core_hook.c.patch ./
96+
echo "Applying wild SUSFS Fix patches..."
97+
cp ../../kernel_patches/wild/susfs_fix_patches/v1.5.9/fix_core_hook.c.patch ./
10498
patch -p1 --forward < fix_core_hook.c.patch
105-
106-
cp ../../kernel_patches/next/susfs_fix_patches/v1.5.9/fix_selinux.c.patch ./
107-
patch -p1 --forward < fix_selinux.c.patch
108-
109-
cp ../../kernel_patches/next/susfs_fix_patches/v1.5.9/fix_ksud.c.patch ./
110-
patch -p1 --forward < fix_ksud.c.patch
11199
112-
cp ../../kernel_patches/next/susfs_fix_patches/v1.5.9/fix_rules.c.patch ./
100+
cp ../../kernel_patches/wild/susfs_fix_patches/v1.5.9/fix_rules.c.patch ./
113101
patch -p1 --forward < fix_rules.c.patch
114102
115-
cp ../../kernel_patches/next/susfs_fix_patches/v1.5.9/fix_sucompat.c.patch ./
103+
cp ../../kernel_patches/wild/susfs_fix_patches/v1.5.9/fix_sucompat.c.patch ./
116104
patch -p1 --forward < fix_sucompat.c.patch
117105
118-
cp ../../kernel_patches/next/susfs_fix_patches/v1.5.9/fix_kernel_compat.c.patch ./
106+
cp ../../kernel_patches/wild/susfs_fix_patches/v1.5.9/fix_kernel_compat.c.patch ./
119107
patch -p1 --forward < fix_kernel_compat.c.patch
120108
121109
# Change to common directory and apply SUSFS patch
@@ -129,7 +117,7 @@ jobs:
129117
echo "Changing to configuration directory: $CONFIG..."
130118
cd "$CONFIG"
131119
# Apply additional patch
132-
cp ../kernel_patches/next/syscall_hooks.patch ./
120+
cp ../kernel_patches/wild/syscall_hooks.patch ./
133121
patch -p1 -F 3 < syscall_hooks.patch
134122
135123
- name: Apply Hide Stuff Patches
@@ -228,7 +216,7 @@ jobs:
228216
cd ./AnyKernel3
229217
230218
# Zip the files in the AnyKernel3 directory with a new naming convention
231-
ZIP_NAME="${{ inputs.codename }}_A16_Sultan_Next_SUSFS.zip"
219+
ZIP_NAME="${{ inputs.codename }}_A16_Sultan_WKSU_SUSFS.zip"
232220
echo "Creating zip file $ZIP_NAME..."
233221
zip -r "../$ZIP_NAME" ./*
234222

0 commit comments

Comments
 (0)