From 1a9ae231eab801539735a1ff6623d5deb1606aa6 Mon Sep 17 00:00:00 2001 From: Aditya Garg <85610623+AdityaGarg8@users.noreply.github.com> Date: Fri, 7 Jun 2024 20:01:35 +0530 Subject: [PATCH] Don't use sudo with dkms --- files/chroot_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/chroot_build.sh b/files/chroot_build.sh index 57a6e67..b55a62d 100755 --- a/files/chroot_build.sh +++ b/files/chroot_build.sh @@ -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"