File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ cp "$CHROOT_DIR/boot/vmlinuz-$T2_KERNEL" "$ISO_WORK_DIR/casper/vmlinuz"
99cp " $CHROOT_DIR /boot/initrd.img-$T2_KERNEL " " $ISO_WORK_DIR /casper/initrd"
1010
1111echo >&2 " ===]> Info: Modify existing grub.cfg ..."
12- sed -i ' s/--- quiet splash/boot=casper quiet splash intel_iommu=on iommu=pt pcie_ports=native ---/g' " $ISO_WORK_DIR /boot/grub/grub.cfg"
12+ sed -i ' s/--- quiet splash/boot=casper quiet splash intel_iommu=on iommu=pt pm_async=off ---/g' " $ISO_WORK_DIR /boot/grub/grub.cfg"
1313
1414echo >&2 " ===]> Info: Creating EFI image ... "
1515dd if=/dev/zero of=" $ISO_WORK_DIR /EFI/efiboot.img" bs=1M count=10
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ echo "deb [signed-by=/etc/apt/trusted.gpg.d/t2-ubuntu-repo.gpg] https://github.c
1414apt update
1515
1616# Add Kernel Parameters to GRUB for Installed System
17- sed -i ' s/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on iommu=pt pcie_ports=native "/' /etc/default/grub
17+ sed -i ' s/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on iommu=pt pm_async=off "/' /etc/default/grub
1818update-grub
1919apt install -y apple-t2-audio-config apple-firmware-script
2020apt install -y linux-t2=${KERNEL_VERSION} -${PKGREL} -${CODENAME}
You can’t perform that action at this time.
0 commit comments