Don't use sudo with dkms

This commit is contained in:
Aditya Garg 2024-06-07 20:01:35 +05:30 committed by GitHub
parent d60cf5bd26
commit 1a9ae231ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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"