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

Ebuilds updated for new Go version and recent Nvidia releases #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

meridion
Copy link

@meridion meridion commented May 14, 2021

Hi, first of all, thanks for your excellent overlay, which I have been using for the past year.

Recently Go updated to version 1.16, and with that the builds broke. I have updated all packages in the overlay to their most recent version released by Nvidia and also cleaned the ebuilds.

The Go ebuilds now use the go-module eclass, instead of relying on the Nvidia makefiles. Since nvidia-container-toolkit is now its own separate repo I've also split that package off into its own separate ebuild.

libnvidia-container now builds from source, as no binary releases have been made by Nvidia since the binary ebuild you provided. This required some hacking around the Git/Docker based makefile, but nothing too bad.

Finally no patches are needed anymore. nvidia-container-toolkit is solely a wrapper around runc which modifies the OCI spec, so no need to pull runc anymore and add a hook. nvidia-container-toolkit itself can be configured correctly for Gentoo through the config.toml file, which is now installed by the ebuild, setting the user:group pair correctly to "root:video".

Simplifications abound.

These changes have been based on the changes already made by Allen which provided a good starting point.

I have verified everything is working as it should. Including merging all packages from scratch after deinstalling them.

Cheers,
Bas

allenh1 and others added 3 commits February 4, 2021 08:53
Signed-off-by: Hunter L. Allen <[email protected]>
- Also split runtime into toolkit and runtime, as Nvidia has done.
- Gentoo has recently introduced and moved container related packages
  from the app-emulation to the app-containers category, so we're
  following suit. (also the ebuilds had to be updated anyway as the
  dependencies had already moved)
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