From a1897e0f62d642238593ba5233b309489ddb7e9e Mon Sep 17 00:00:00 2001 From: Aditya Garg <85610623+AdityaGarg8@users.noreply.github.com> Date: Thu, 29 Sep 2022 18:55:08 +0530 Subject: [PATCH] Use update apt repo + add sound files --- files/chroot_build.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/files/chroot_build.sh b/files/chroot_build.sh index a7cb302..bf39e61 100755 --- a/files/chroot_build.sh +++ b/files/chroot_build.sh @@ -30,8 +30,8 @@ echo >&2 "===]> Info: Install systemd and Ubuntu MBP Repo... " apt-get install -y systemd-sysv gnupg curl wget mkdir -p /etc/apt/sources.list.d -echo "deb https://mbp-ubuntu-kernel.herokuapp.com/ /" >/etc/apt/sources.list.d/mbp-ubuntu-kernel.list -curl -L https://mbp-ubuntu-kernel.herokuapp.com/KEY.gpg | apt-key add - +curl -s --compressed "https://adityagarg8.github.io/t2-ubuntu-repo/KEY.gpg" | gpg --dearmor | tee /etc/apt/trusted.gpg.d/t2-ubuntu-repo.gpg >/dev/null +curl -s --compressed -o /etc/apt/sources.list.d/t2.list "https://adityagarg8.github.io/t2-ubuntu-repo/t2.list" apt-get update echo >&2 "===]> Info: Configure machine-id and divert... " @@ -91,7 +91,7 @@ apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::=" ubiquity-slideshow-ubuntu \ ubiquity-ubuntu-artwork -echo >&2 "===]> Info: Install useful applications... " +echo >&2 "===]> Info: Install useful applications and sound configuration... " apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \ git \ @@ -100,7 +100,8 @@ apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::=" make \ gcc \ dkms \ - iwd + iwd \ + apple-t2-audio-config echo >&2 "===]> Info: Change initramfs format (for grub)... " sed -i "s/COMPRESS=lz4/COMPRESS=gzip/g" "/etc/initramfs-tools/initramfs.conf"