Closed jamieNguyenNVIDIA closed 3 years ago
Hi Jamie, it looks good but I will need to wait until Wednesday to test and merge the change.
For what it's worth, here's some output from my own unit test:
[lab@rhel8-kvm-1v-42 ~]$ sudo dnf module install nvidia-driver:470/src
Updating Subscription Management repositories.
custom 3.4 MB/s | 3.5 kB 00:00
Dependencies resolved.
=========================================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================================
Installing group/module packages:
nvidia-kmod-headers x86_64 3:470.57.02-1.el8 custom 25 M
Installing module profiles:
nvidia-driver/src
Enabling module streams:
nvidia-driver 470
Transaction Summary
=========================================================================================================================================
Install 1 Package
...
[lab@rhel8-kvm-1v-42 ~]$ sudo dnf module install nvidia-driver:460/src
Updating Subscription Management repositories.
Last metadata expiration check: 0:00:11 ago on Tue 10 Aug 2021 07:04:40 AM PDT.
Dependencies resolved.
=========================================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================================
Installing group/module packages:
nvidia-kmod-headers x86_64 3:460.91.03-1.el8 custom 24 M
Installing module profiles:
nvidia-driver/src
Enabling module streams:
nvidia-driver 460
Transaction Summary
=========================================================================================================================================
Install 1 Package
...
[lab@rhel8-kvm-1v-42 ~]$ sudo dnf module install nvidia-driver:450/src
Updating Subscription Management repositories.
Last metadata expiration check: 0:00:23 ago on Tue 10 Aug 2021 07:04:40 AM PDT.
Dependencies resolved.
=========================================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================================
Installing group/module packages:
nvidia-kmod-headers x86_64 3:450.142.00-1.el8 custom 12 M
Installing module profiles:
nvidia-driver/src
Enabling module streams:
nvidia-driver 450
Transaction Summary
=========================================================================================================================================
Install 1 Package
Validated the resultant YAML, merging. Thank you Jamie!
Without this, installing the "src" profile for any branch would always pull in the latest available nvidia-kmod-headers package. For instance, "dnf module install nvidia-driver;450/src" would install nvidia-kmod-headers-470.57.02-1.el8.x86_64.rpm as of today (August 9, 2021).
Signed-off-by: Jamie Nguyen jamien@nvidia.com