From 398018a39fd139b905c0027644be2ba0dcad3dbd Mon Sep 17 00:00:00 2001 From: Aditya Garg Date: Sat, 25 Dec 2021 09:10:46 +0530 Subject: [PATCH] OTP --- .github/workflows/CI.yml | 4 ++-- build.sh | 4 ++-- files/chroot_build.sh | 7 ++++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e9bb698..e196c67 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -35,12 +35,12 @@ jobs: Download all the artifacts, and put them in a folder without other files. Then run:" unzip "*.z??.zip" - cat livecd-${{ steps.tag.outputs.tag }}-t2-big-sur.z?? > cd.zip + cat livecd-${{ steps.tag.outputs.tag }}-t2.z?? > cd.zip echo unzip cd.zip EOF - name: Release - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/OTP' uses: softprops/action-gh-release@v1 with: files: ${{ github.workspace }}/*.iso diff --git a/build.sh b/build.sh index bc380cc..43b1a18 100755 --- a/build.sh +++ b/build.sh @@ -5,7 +5,7 @@ ROOT_PATH=$(pwd) WORKING_PATH=/root/work CHROOT_PATH="${WORKING_PATH}/chroot" IMAGE_PATH="${WORKING_PATH}/image" -KERNEL_VERSION=5.15.6 +KERNEL_VERSION=5.15.11 if [ -d "$WORKING_PATH" ]; then rm -rf "$WORKING_PATH" @@ -33,7 +33,7 @@ apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::=" syslinux echo >&2 "===]> Info: Start loop... " -for ALTERNATIVE in t2-big-sur +for ALTERNATIVE in t2 do echo >&2 "===]> Info: Start building ${ALTERNATIVE}... " diff --git a/files/chroot_build.sh b/files/chroot_build.sh index d0e5045..2c40e3e 100755 --- a/files/chroot_build.sh +++ b/files/chroot_build.sh @@ -68,10 +68,11 @@ apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::=" # This is not ideal, but it should work until the apt repo gets updated. -curl -L https://github.com/AdityaGarg8/T2-Big-Sur-Ubuntu-Kernel/releases/download/v5.15.6-1/linux-headers-5.15.6-t2-big-sur_5.15.6-1_amd64.deb > /tmp/headers-bs.deb -curl -L https://github.com/AdityaGarg8/T2-Big-Sur-Ubuntu-Kernel/releases/download/v5.15.6-1/linux-image-5.15.6-t2-big-sur_5.15.6-1_amd64.deb > /tmp/image-bs.deb +curl -L https://github.com/AdityaGarg8/mbp-16.1-linux-wifi/releases/download/v5.15.11-ubuntu/linux-headers-5.15.11-t2_5.15.11-1_amd64.deb > /tmp/headers.deb +curl -L https://github.com/AdityaGarg8/mbp-16.1-linux-wifi/releases/download/v5.15.11-ubuntu/linux-image-5.15.11-t2_5.15.11-1_amd64.deb > /tmp/image.deb +curl -L https://github.com/AdityaGarg8/mbp-16.1-linux-wifi/releases/download/v5.15.11-ubuntu/firmware.deb > /tmp/firmware.deb file /tmp/* -apt install /tmp/headers-bs.deb /tmp/image-bs.deb +apt install /tmp/headers.deb /tmp/image.deb /tmp/firmware.deb echo >&2 "===]> Info: Install window manager... "