public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH pve-vgpu-helper v2] add 'gcc' to the dependency list
@ 2026-01-09 11:00 Dominik Csapak
  2026-01-13 18:27 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2026-01-09 11:00 UTC (permalink / raw)
  To: pve-devel

dkms in trixie does not depend on on any compiler anymore, so we have to
add it ourselves, otherwise the necessary build tools are not installed
for the nvidia driver.

The dependency was 'gcc | c-compiler' so by default it would choose
'gcc', so let us use that as a dependency.

The relevant debian change is
https://salsa.debian.org/debian/dkms/-/commit/655da424d244f87820ca42f363ea85837ec54e5c

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
this is the v2 to:
https://lore.proxmox.com/all/20251211151317.3351087-1-d.csapak@proxmox.com/

'build-essential' was overkill, just gcc is enough

 src/pve-nvidia-vgpu-helper | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pve-nvidia-vgpu-helper b/src/pve-nvidia-vgpu-helper
index 9294028..1102f3d 100755
--- a/src/pve-nvidia-vgpu-helper
+++ b/src/pve-nvidia-vgpu-helper
@@ -14,7 +14,7 @@ use PVE::SafeSyslog;
 
 ## Module-Wide Variables & Constants
 
-my @BASE_PACKAGE_DEPENDENCIES = qw(dkms libc6-dev proxmox-default-headers);
+my @BASE_PACKAGE_DEPENDENCIES = qw(dkms gcc libc6-dev proxmox-default-headers);
 
 my $apt_cache; # initialized in the main section
 
-- 
2.47.3



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-13 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-09 11:00 [pve-devel] [PATCH pve-vgpu-helper v2] add 'gcc' to the dependency list Dominik Csapak
2026-01-13 18:27 ` [pve-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal