Skip to content

Commit

Permalink
Update chroot_build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaGarg8 authored Jun 5, 2024
1 parent a8f4d93 commit 4348d8b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/chroot_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,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"

Expand Down

0 comments on commit 4348d8b

Please sign in to comment.