Skip to content

Commit eb73abe

Browse files
committed
Test fake config new method
1 parent 6bfeee2 commit eb73abe

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,12 @@ jobs:
199199
echo "Changing to configuration directory: $CONFIG..."
200200
cd "$CONFIG/kernel_platform/common"
201201
# Apply additional patch
202-
cp ../../../kernel_patches_additional/a14_fake_config_fix.patch ./
203-
cp ../../../kernel_patches_additional/fake_defconfig ./
204-
patch -p1 -F 3 < a14_fake_config_fix.patch
205-
ls -la ./fake_defconfig
202+
# cp ../../../kernel_patches_additional/a14_fake_config_fix.patch ./
203+
# cp ../../../kernel_patches_additional/fake_defconfig ./
204+
# patch -p1 -F 3 < a14_fake_config_fix.patch
205+
# ls -la ./fake_defconfig
206+
cp ../../../kernel_patches_additional/fake_config.patch ./
207+
patch -p1 -F 3 < fake_config.patch
206208
207209
- name: Add SUSFS Configuration Settings
208210
run: |
@@ -335,7 +337,7 @@ jobs:
335337
perl -pi -e 's{UTS_VERSION="\$\(echo \$UTS_VERSION \$CONFIG_FLAGS \$TIMESTAMP \| cut -b -\$UTS_LEN\)"}{UTS_VERSION="#1 SMP PREEMPT Thu Mar 05 04:20:00 UTC 2025"}' ./common/scripts/mkcompile_h
336338
perl -pi -e 's{UTS_VERSION="\$\(echo \$UTS_VERSION \$CONFIG_FLAGS \$TIMESTAMP \| cut -b -\$UTS_LEN\)"}{UTS_VERSION="#1 SMP PREEMPT Thu Mar 05 04:20:00 UTC 2025"}' ./msm-kernel/scripts/mkcompile_h
337339
338-
find . -type f -exec sed -i 's/\(make\s\+-C[^\n]*\)\s\+/\1 -j$(nproc) /g' {} +
340+
find . -type f -exec sed -i 's/\(make\s\+-C[^\n]*\)\s\+/\1 -j$(nproc) V=1 /g' {} +
339341
340342
- name: Build the Kernel
341343
run: |
@@ -405,16 +407,16 @@ jobs:
405407
sed -i 's|^device\.name4=.*|device.name4=PHB110|' anykernel.sh
406408
sed -i '/ui_print " " " -> ksu_supported: $ksu_supported"/i \
407409
ui_print "Features:"\
408-
ui_print "-> KernelSU-Next-Official v1.0.6 (12XXX) "\
410+
ui_print "-> KernelSU-Next-Official v1.0.6 (${{ env.KSUVER }}) "\
409411
ui_print "-> SUSFS ඞ v1.5.7"\
410412
ui_print "-> Manual Hooks for Better Hiding"\
411413
ui_print "-> Wireguard Support"\
412414
ui_print "-> Simple Maphide for LineageOS Detections"\
413415
ui_print "-> Futile Maphide for jit-zygote-cache Detections"\
414416
ui_print "-> Magic Mount Support"\
415-
ui_print "-> CONFIG_TMPFS_XATTR Support for Mountify"' anykernel.sh
416-
# ui_print "-> CONFIG_TMPFS_XATTR Support for Mountify"\
417-
# ui_print "-> TCP Congestion Algorithm: BBR enabled"' anykernel.sh
417+
ui_print "-> CONFIG_TMPFS_XATTR Support for Mountify"\
418+
ui_print "-> TCP Congestion Algorithm: BBR enabled"' anykernel.sh
419+
# ui_print "-> CONFIG_TMPFS_XATTR Support for Mountify"' anykernel.sh
418420
419421
# Zip the files in the AnyKernel3 directory with a new naming convention
420422
ZIP_NAME="${{ inputs.model }}_${{ inputs.android_version }}_${{ inputs.kernel_version }}_Next_SUSFS_AnyKernel3.zip"

0 commit comments

Comments
 (0)