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

feature: use deb package instead tar.gz for fabricmanager #31

Merged
merged 11 commits into from
Nov 20, 2024

Conversation

janosbinder
Copy link
Contributor

What this PR does / why we need it:

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

@@ -91,7 +91,7 @@ case $TARGET_ARCH in
echo "Successfully compiled NVIDIA modules"
else
echo "[ERROR] Failed to compile NVIDIA modules"
cat /tmp/nvidia/NVIDIA-Linux-aarch64-535.86.10/nvidia-installer.log
cat /tmp/nvidia/NVIDIA-Linux-aarch64-"$DRIVER_VERSION"/nvidia-installer.log
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

wget -O /tmp/keyring.deb https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-keyring_1.1-1_all.deb && dpkg -i /tmp/keyring.deb
apt-get update
#apt-get install -V nvidia-open-"$DRIVER_BRANCH"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe remove this line instead of commenting out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will be removed.

wget -O /tmp/keyring.deb https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-keyring_1.1-1_all.deb && dpkg -i /tmp/keyring.deb
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to be a bit careful in the future when Garden Linux is based on a Debian version >12. Fine for now though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually debian12 is the latest one available there. There is debian11, debian10 and ubuntu ones.

apt-get update
#apt-get install -V nvidia-open-"$DRIVER_BRANCH"
apt-get install -V nvidia-fabricmanager-"$DRIVER_BRANCH" nvidia-fabricmanager-dev-"$DRIVER_BRANCH"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is nvidia-fabricmanager-dev needed? I would have expected just nvidia-fabricmanager

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will be removed.

@dhague dhague merged commit e907d22 into gardenlinux:main Nov 20, 2024
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