From b95c8aeb80b91413eec1b6fa2e265fe712b7910c Mon Sep 17 00:00:00 2001 From: Aditya Garg <85610623+AdityaGarg8@users.noreply.github.com> Date: Wed, 5 Jun 2024 17:59:16 +0530 Subject: [PATCH] Update chroot_build.sh --- files/chroot_build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/chroot_build.sh b/files/chroot_build.sh index b39a49b..5f47a5c 100755 --- a/files/chroot_build.sh +++ b/files/chroot_build.sh @@ -111,6 +111,9 @@ apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::=" apfs-dkms \ dmg2img +apfs_ver=$(ls /usr/src | grep linux-apfs-rw | cut -d "-" -f 4) +sudo dkms install -m linux-apfs-rw -v ${apfs_ver} -k KVER-t2-${CODENAME} + echo >&2 "===]> Info: Change initramfs format (for grub)... " sed -i "s/COMPRESS=lz4/COMPRESS=gzip/g" "/etc/initramfs-tools/initramfs.conf"