From 4dd081364419a8226b8eace1d14f71545c2e985a Mon Sep 17 00:00:00 2001 From: ferreo Date: Mon, 3 Feb 2025 11:27:44 +0100 Subject: [PATCH] Update nvidia-graphics-drivers-570/debian/rules --- nvidia-graphics-drivers-570/debian/rules | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/nvidia-graphics-drivers-570/debian/rules b/nvidia-graphics-drivers-570/debian/rules index ab55584..0d8eb1b 100644 --- a/nvidia-graphics-drivers-570/debian/rules +++ b/nvidia-graphics-drivers-570/debian/rules @@ -18,12 +18,8 @@ ifeq (amd64,$(DEB_HOST_ARCH)) # Extract all manpages gunzip debian/tmp/*.1.gz -k - # Enable modeset and fbdev as default - # This avoids various issue, when Simplefb is used - # https://gitlab.archlinux.org/archlinux/packaging/packages/nvidia-utils/-/issues/14 - # https://github.com/rpmfusion/nvidia-kmod/blob/master/make_modeset_default.patch - #patch -Np2 -i $(CURDIR)/debian/patches/0001-Make-modeset-and-fbdev-default-enabled.patch -d $(CURDIR)/debian/tmp/kernel - #patch -Np2 -i $(CURDIR)/debian/patches/0001-Make-modeset-and-fbdev-default-enabled.patch -d $(CURDIR)/debian/tmp/kernel-open + patch -Np2 -i $(CURDIR)/debian/patches/570.patch -d $(CURDIR)/debian/tmp/kernel + patch -Np2 -i $(CURDIR)/debian/patches/570.patch -d $(CURDIR)/debian/tmp/kernel-open # Fix build errors on 6.13+ # https://github.com/NVIDIA/open-gpu-kernel-modules/issues/746 @@ -57,12 +53,8 @@ ifeq (i386,$(DEB_HOST_ARCH)) # Copy installer contents into debian temp dir cp -rf ./NVIDIA-Linux-*/* debian/tmp - # Enable modeset and fbdev as default - # This avoids various issue, when Simplefb is used - # https://gitlab.archlinux.org/archlinux/packaging/packages/nvidia-utils/-/issues/14 - # https://github.com/rpmfusion/nvidia-kmod/blob/master/make_modeset_default.patch - #patch -Np2 -i $(CURDIR)/debian/patches/0001-Make-modeset-and-fbdev-default-enabled.patch -d $(CURDIR)/debian/tmp/kernel - #patch -Np2 -i $(CURDIR)/debian/patches/0001-Make-modeset-and-fbdev-default-enabled.patch -d $(CURDIR)/debian/tmp/kernel-open + patch -Np2 -i $(CURDIR)/debian/patches/570.patch -d $(CURDIR)/debian/tmp/kernel + patch -Np2 -i $(CURDIR)/debian/patches/570.patch -d $(CURDIR)/debian/tmp/kernel-open # Fix build errors on 6.13+ # https://github.com/NVIDIA/open-gpu-kernel-modules/issues/746