Explorar o código

Update build-kernel-a14.yml

James McConnell hai 1 ano
pai
achega
e549a0d9b6
Modificáronse 1 ficheiros con 1 adicións e 11 borrados
  1. 1 11
      .github/workflows/build-kernel-a14.yml

+ 1 - 11
.github/workflows/build-kernel-a14.yml

@@ -5,7 +5,7 @@ on:
   
 jobs:
   build-kernel-a14-kernelsu-susfs:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     timeout-minutes: 2160  # Set maximum timeout
 
     steps:
@@ -160,16 +160,6 @@ jobs:
             echo "CONFIG_KSU_SUSFS_SUS_SU=y" >> ./common/arch/arm64/configs/gki_defconfig
 
             echo "CONFIG_TMPFS_XATTR=y" >> ./common/arch/arm64/configs/gki_defconfig
-
-            if [ ! -e build/build.sh ]; then
-              GLIBC_VERSION=$(ldd --version 2>/dev/null | head -n 1 | awk '{print $NF}')
-              echo "GLIBC_VERSION: $GLIBC_VERSION"
-              if [ "$(printf '%s\n' "2.38" "$GLIBC_VERSION" | sort -V | head -n1)" = "2.38" ]; then
-                echo "Patching resolve_btfids/Makefile"
-                sed -i '/\$(Q)\$(MAKE) -C \$(SUBCMD_SRC) OUTPUT=\$(abspath \$(dir \$@))\/ \$(abspath \$@)/s//$(Q)$(MAKE) -C $(SUBCMD_SRC) EXTRA_CFLAGS="$(CFLAGS)" OUTPUT=$(abspath $(dir $@))\/ $(abspath $@)/' \
-                $GKI_ROOT/common/tools/bpf/resolve_btfids/Makefile || echo "No patch needed."
-              fi
-            fi
             
             # Build the kernel using Bazel
             echo "Building kernel..."