Skip to content

Commit

Permalink
Update kernel args
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpenedblade committed Nov 9, 2023
1 parent de19803 commit b4e78eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions t2linux-config/t2linux-config.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: t2linux-config
Version: 10.0.0
Version: 11.0.0
Release: 1%{?dist}
Summary: System configuration for linux on t2 macs.
License: MIT
Expand Down Expand Up @@ -29,7 +29,8 @@ install -D -m 644 t2linux-modules-install.conf %{buildroot}/etc/dracut.conf.d/t2
install -D -m 644 t2linux-modules.conf %{buildroot}/etc/modules-load.d/t2linux-modules.conf

%post
grubby --args="intel_iommu=on iommu=pt pcie_ports=compat" --update-kernel=ALL
grubby --args="intel_iommu=on iommu=pt" --update-kernel=ALL
grubby --remove-args="pcie_ports=compat" --update-kernel=ALL

%files
/etc/modules-load.d/t2linux-modules.conf
Expand Down

0 comments on commit b4e78eb

Please sign in to comment.