|
|
@@ -136,6 +136,17 @@ jobs:
|
|
|
$REPO --version
|
|
|
$REPO --trace sync -c -j$(nproc --all) --no-tags --fail-fast
|
|
|
|
|
|
+ - name: Fix Less Then 6.6.50 Builds
|
|
|
+ run: |
|
|
|
+ cd "$CONFIG/common"
|
|
|
+ if [ "${{ inputs.android_version }}" = "android15" ] && [ "${{ inputs.kernel_version }}" = "6.6" ]; then
|
|
|
+ if ! grep -qxF '#include <trace/hooks/fs.h>' ./fs/namespace.c; then
|
|
|
+ sed -i '/#include <trace\/hooks\/blk.h>/a #include <trace\/hooks\/fs.h>' ./fs/namespace.c
|
|
|
+ else
|
|
|
+ echo "Line already present. Skipping insert."
|
|
|
+ fi
|
|
|
+ fi
|
|
|
+
|
|
|
- name: Determine the branch for KernelSU
|
|
|
run: |
|
|
|
case "${{ inputs.kernelsu_branch }}" in
|