Merge ~ce-hyperscale/+git/maas-preseeds:fix_driver_version into ~ce-hyperscale/+git/maas-preseeds:main

Proposed by Mitchell Augustin
Status: Merged
Merged at revision: 7f8bdbdd8a16314ad6f1db8bb1aa4cfc6eef42e6
Proposed branch: ~ce-hyperscale/+git/maas-preseeds:fix_driver_version
Merge into: ~ce-hyperscale/+git/maas-preseeds:main
Diff against target: 13 lines (+1/-1)
1 file modified
late.sh (+1/-1)
Reviewer Review Type Date Requested Status
Ian May (community) Approve
Review via email: mp+461667@code.launchpad.net

Commit message

Install correct linux-modules variant (open/non-open)

Currently, non-open linux-modules are installed even if
the open variant of the nvidia drivers are installed.
This change corrects that.

Description of the change

Install correct linux-modules variant (open/non-open)

To post a comment you must log in.
Revision history for this message
Ian May (ian-may) wrote :

LGTM! Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/late.sh b/late.sh
2index 5e1708b..bcbcecc 100755
3--- a/late.sh
4+++ b/late.sh
5@@ -56,7 +56,7 @@ install_gpu_drivers() {
6 "linux-nvidia-*-hwe-[0-9][0-9]\.[0-9][0-9]"; do
7 for metapkg in $(dpkg-query -W -f '${Package}\n' "${possible_flavor_pattern}"); do
8 flavor=${metapkg#linux-}
9- pkgs="$pkgs linux-modules-nvidia-${NVIDIA_DRIVER_VERSION}-${flavor}"
10+ pkgs="$pkgs linux-modules-nvidia-${NVIDIA_DRIVER_VERSION_VARIANT}-${flavor}"
11 echo $pkgs
12 done
13 done

Subscribers

People subscribed via source and target branches

to all changes: