|
|
@@ -119,11 +119,6 @@ jobs:
|
|
|
git clone https://gitlab.com/simonpunk/susfs4ksu.git -b "$SUSFS_BRANCH"
|
|
|
git clone https://github.com/WildPlusKernel/kernel_patches.git
|
|
|
|
|
|
- - name: Check Disk Space Before Sync
|
|
|
- run: |
|
|
|
- echo "Disk space before kernel source sync:"
|
|
|
- df -h
|
|
|
-
|
|
|
- name: Initialize and Sync Kernel Source
|
|
|
run: |
|
|
|
echo "Creating folder for configuration: $CONFIG..."
|
|
|
@@ -368,11 +363,18 @@ jobs:
|
|
|
perl -0777 -pi -e 's/(.*)(echo "\$res")/$1echo "\$res-Next-v\$KSUVER-SUSFS-v1.5.9-Wild"/s' ./common/scripts/setlocalversion
|
|
|
perl -pi -e 's{UTS_VERSION="\$\(echo \$UTS_VERSION \$CONFIG_FLAGS \$TIMESTAMP \| cut -b -\$UTS_LEN\)"}{UTS_VERSION="#1 SMP PREEMPT Sun Apr 20 04:20:00 UTC 2025"}' ./common/scripts/mkcompile_h
|
|
|
else
|
|
|
+ remove -maybe-dirty
|
|
|
+ perl -pi -e 's/-maybe-dirty//g' ./build/kernel/kleaf/impl/stamp.bzl
|
|
|
+
|
|
|
+ #Set Kernel Name
|
|
|
+ echo "CONFIG_LOCALVERSION=\"-NEXT-v$KSUVER-SUSFS-v1.5.9-Wild\"" >> ./common/arch/arm64/configs/gki_defconfig
|
|
|
+
|
|
|
+ #Set Kernel Timestamp
|
|
|
perl -pi -e 's/build-timestamp = \$\(or \$\(KBUILD_BUILD_TIMESTAMP\), \$\(build-timestamp-auto\)\)/build-timestamp = "Sun Apr 20 04:20:00 UTC 2025"/' ./common/init/Makefile
|
|
|
- perl -pi -e 's/^\s*"protected_exports_list"\s*:\s*"android\/abi_gki_protected_exports_aarch64",\s*$//;' ./common/BUILD.bazel
|
|
|
+
|
|
|
+ #Remove Abi Exports and Error
|
|
|
rm -rf ./common/android/abi_gki_protected_exports_*
|
|
|
- perl -pi -e 's/^-maybe-dirty//g' ./build/kernel/kleaf/impl/stamp.bzl
|
|
|
- perl -pi -e 's/^CONFIG_LOCALVERSION=(.*)"/CONFIG_LOCALVERSION=\1-NEXT-v$KSUVER-SUSFS-v1.5.9-Wild"/' ./common/arch/arm64/configs/gki_defconfig
|
|
|
+ perl -pi -e 's/^\s*"protected_exports_list"\s*:\s*"android\/abi_gki_protected_exports_aarch64",\s*$//;' ./common/BUILD.bazel
|
|
|
fi
|
|
|
|
|
|
- name: Build
|