Browse Source

Update build.yml

jimsterino98 9 months ago
parent
commit
ece87cfe87
1 changed files with 1 additions and 17 deletions
  1. 1 17
      .github/workflows/build.yml

+ 1 - 17
.github/workflows/build.yml

@@ -289,24 +289,8 @@ jobs:
             chmod +x build_kernel_GKI.sh
             LTO=thin ./build_kernel_GKI.sh || true
           elif [[ "${{ inputs.branch }}" == "SM-A546B-Oneui7" || "${{ inputs.branch }}" == "SM-A546E-Oneui7" ]]; then
+            sudo apt update
             sudo apt-get install -y libyaml-dev
-            sudo apt update && sudo apt install -y git device-tree-compiler lz4 xz-utils zlib1g-dev openjdk-17-jdk gcc g++ python3 python-is-python3 p7zip-full android-sdk-libsparse-utils erofs-utils \
-            default-jdk git gnupg flex bison gperf build-essential zip curl libc6-dev libncurses-dev libx11-dev libreadline-dev libgl1 libgl1-mesa-dev \
-            python3 make sudo gcc g++ bc grep tofrodos python3-markdown libxml2-utils xsltproc zlib1g-dev python-is-python3 libc6-dev libtinfo6 \
-            make repo cpio kmod openssl libelf-dev pahole libssl-dev libarchive-tools zstd rsync --fix-missing && \
-            wget http://security.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb && \
-            sudo dpkg -i libtinfo5_6.3-2ubuntu0.1_amd64.deb && \
-            rm libtinfo5_6.3-2ubuntu0.1_amd64.deb
-          
-            sudo apt install -y \
-            git build-essential bc bison flex libssl-dev libncurses5-dev libelf-dev \
-            libdw-dev libnuma-dev libpci-dev libcap-dev libaudit-dev \
-            lz4 zstd xz-utils cpio wget curl \
-            gcc-aarch64-linux-gnu \
-            python3 python3-pip \
-            device-tree-compiler \
-            liblz4-tool \
-            abootimg  # optional, nice to have
             LTO=thin ./build_kernel.sh || true
           else
             #temporarily using this until i can figure out the other phones build script issues