File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313# Update GRUB Configuration in ISO
1414echo >&2 " ===]> Info: Modify existing grub.cfg ..."
1515if [ " $SUBIQUITY " = " yes" ]; then
16- sed -i ' s/--- quiet splash/--- quiet splash intel_iommu=on iommu=pt pcie_ports=native /g' " $ISO_WORK_DIR /boot/grub/grub.cfg"
16+ sed -i ' s/--- quiet splash/--- quiet splash intel_iommu=on iommu=pt pm_async=off /g' " $ISO_WORK_DIR /boot/grub/grub.cfg"
1717else
18- 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"
18+ 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"
1919fi
2020
2121echo >&2 " ===]> Info: Creating EFI image ... "
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ apt update
1616
1717echo >&2 " ===]> Info: Update grub... "
1818# Add Kernel Parameters to GRUB for Installed System
19- 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
19+ 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
2020update-grub
2121
2222echo >&2 " ===]> Info: Install audio and wifi firmware script... "
You can’t perform that action at this time.
0 commit comments