Skip to content

Commit

Permalink
kernel-setup: Fix intel sriov build
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Jan 10, 2025
1 parent e413585 commit 98d430b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/kernel-setup
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ case "$i" in

cd i915-sriov-dkms
dkms add .
dkms install -m i915-sriov-dkms -v $(cat VERSION) --force
dkms install -m i915-sriov-dkms -k $(ls /lib/modules/ | sort -V | tail -1) -v $(cat VERSION) --force
dkms install -m i915-sriov-dkms -k $(ls /lib/modules/ | sort -V | tail -1) -v $(ls /var/lib/dkms/i915-sriov-dkms) --force
echo 'GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on i915.enable_guc=3 i915.max_vfs=7"' > /etc/default/grub.d/99-test.cfg
update-initramfs -u
update-grub
Expand Down

0 comments on commit 98d430b

Please sign in to comment.