@@ -129,8 +129,6 @@ jobs:
129
129
else
130
130
curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/next/kernel/setup.sh" | bash -s ${{ inputs.ksun_branch }}
131
131
fi
132
-
133
- git submodule update --init --recursive
134
132
135
133
- name : Apply SUSFS Patches
136
134
run : |
@@ -146,25 +144,11 @@ jobs:
146
144
147
145
cd ./KernelSU-Next
148
146
149
- if [ "${{ inputs.ksun_branch }}" == "stable" ] || [ "${{ inputs.ksun_branch }}" == "next" ]; then
150
- echo "Applying next SUSFS patches..."
151
- cp ../../../kernel_patches/next/ksun_susfs_v1.5.7_patch_12647+.patch ./ksun_susfs_latest.patch
152
- patch -p1 --forward < ksun_susfs_latest.patch || true
153
- fi
154
-
155
- # Determine base version based on branch
156
- case "${{ inputs.ksun_branch }}" in
157
- next|stable)
158
- BASE_VERSION=10200
159
- ;;
160
- next-susfs|next-susfs-dev)
161
- BASE_VERSION=10198
162
- ;;
163
- *)
164
- BASE_VERSION=10200
165
- ;;
166
- esac
147
+ echo "Applying next SUSFS patches..."
148
+ cp ../../../kernel_patches/next/ksun_susfs_v1.5.7_patch_12647+.patch ./ksun_susfs_latest.patch
149
+ patch -p1 --forward < ksun_susfs_latest.patch || true
167
150
151
+ BASE_VERSION=10200
168
152
cd ./kernel
169
153
KSU_VERSION=$(expr $(/usr/bin/git rev-list --count HEAD) "+" $BASE_VERSION)
170
154
echo "KSUVER=$KSU_VERSION" >> $GITHUB_ENV
@@ -308,8 +292,6 @@ jobs:
308
292
DATESTR=$(date -u)
309
293
perl -pi -e 's{UTS_VERSION="\$\(echo \$UTS_VERSION \$CONFIG_FLAGS \$TIMESTAMP \| cut -b -\$UTS_LEN\)"}{UTS_VERSION="#1 SMP PREEMPT $DATESTR"}' ./common/scripts/mkcompile_h
310
294
perl -pi -e 's{UTS_VERSION="\$\(echo \$UTS_VERSION \$CONFIG_FLAGS \$TIMESTAMP \| cut -b -\$UTS_LEN\)"}{UTS_VERSION="#1 SMP PREEMPT $DATESTR"}' ./msm-kernel/scripts/mkcompile_h
311
-
312
- # find . -type f -exec sed -i 's/\(make\s\+-C[^\n]*\)\s\+/\1 -j$(nproc) /g' {} +
313
295
314
296
- name : Build the Kernel
315
297
run : |
@@ -359,12 +341,6 @@ jobs:
359
341
360
342
echo "Copying Image"
361
343
cp ./out/dist/Image ../AnyKernel3/Image
362
- if [ "${{ inputs.model }}" == "OPAce5Pro" ]; then
363
- cp ./out/dist/dtbo.img ../AnyKernel3/
364
- cp ./out/dist/system_dlkm.erofs.img ../AnyKernel3/system_dlkm.img
365
- # cp ./out/dist/vendor_dlkm.img ../AnyKernel3/
366
- # cp ./out/dist/vendor_boot.img ../AnyKernel3/
367
- fi
368
344
369
345
- name : Create ZIP Files for Different Formats
370
346
run : |
0 commit comments