Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add nvidia kmod builds and ublue-os-nvidia-addons #53

Merged
merged 3 commits into from
Aug 25, 2023
Merged

Conversation

bsherman
Copy link
Contributor

@bsherman bsherman commented Aug 25, 2023

This adds nvidia kmod builds with a parameterized script which uses the nvidia major version to build the rpmfusion provided akmod for the respective nvidia version.

Also this builds the ublue-os-nvidia-addons which includes container runtime repo and sway environment setting for nvidia.

This mostly copies (with minor cleanup) from ublue-os/nvidia repo; once merged and building cleanly, the nvidia repo can be modified to build images using the kmods built here.

Only two somewhat significant changes (other than some scripting cleanup) stick out in my mind:

  1. since I'm now building both 470 and 535 (and in future i guess this could be more) in a serial fashion, this does cause longer akmods build times, but... it's a daily thing, and the nvidia image builds are MUCH faster for when we need to just rebuild to pickup some change for synchronizing with main images
  2. i no longer disable the nvidia-container-runtime and supergfxctl repos by default in the ublue-os-nvidia-addons RPM as this made things a bit difficult for consuming it in the nvidia image builds. We can still disable those by default in the nvidia image builds if desired, and I will likely do so over there just to keep the same end state.

This adds nvidia kmod builds with a parameterized script which uses the
nvidia major version to build the rpmfusion provided akmod for the
respective nvidia version.

Also this builds the ublue-os-nvidia-addons which includes container
runtime repo and sway environment setting for nvidia.

This mostly copies (with minor cleanup) from `ublue-os/nvidia` repo;
once merged and building cleanly, the nvidia repo can be modified to
build images using the kmods built here.
@bsherman bsherman marked this pull request as ready for review August 25, 2023 03:08
@bsherman bsherman requested review from a team and removed request for castrojo August 25, 2023 03:09
@bsherman bsherman self-assigned this Aug 25, 2023
@bsherman bsherman added this pull request to the merge queue Aug 25, 2023
Merged via the queue into main with commit a899dc4 Aug 25, 2023
2 checks passed
@bsherman bsherman deleted the add-nvidia branch August 25, 2023 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants