Skip to content

Commit

Permalink
Don't use sudo with dkms
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaGarg8 authored Jun 7, 2024
1 parent d60cf5b commit 1a9ae23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/chroot_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ apt-get install -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="
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}
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 1a9ae23

Please sign in to comment.