Update nvidia-graphics-drivers-570/debian/rules
This commit is contained in:
parent
9d78b0bef5
commit
4dd0813644
@ -18,12 +18,8 @@ ifeq (amd64,$(DEB_HOST_ARCH))
|
|||||||
# Extract all manpages
|
# Extract all manpages
|
||||||
gunzip debian/tmp/*.1.gz -k
|
gunzip debian/tmp/*.1.gz -k
|
||||||
|
|
||||||
# Enable modeset and fbdev as default
|
patch -Np2 -i $(CURDIR)/debian/patches/570.patch -d $(CURDIR)/debian/tmp/kernel
|
||||||
# This avoids various issue, when Simplefb is used
|
patch -Np2 -i $(CURDIR)/debian/patches/570.patch -d $(CURDIR)/debian/tmp/kernel-open
|
||||||
# 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
|
|
||||||
|
|
||||||
# Fix build errors on 6.13+
|
# Fix build errors on 6.13+
|
||||||
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/746
|
# 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
|
# Copy installer contents into debian temp dir
|
||||||
cp -rf ./NVIDIA-Linux-*/* debian/tmp
|
cp -rf ./NVIDIA-Linux-*/* debian/tmp
|
||||||
|
|
||||||
# Enable modeset and fbdev as default
|
patch -Np2 -i $(CURDIR)/debian/patches/570.patch -d $(CURDIR)/debian/tmp/kernel
|
||||||
# This avoids various issue, when Simplefb is used
|
patch -Np2 -i $(CURDIR)/debian/patches/570.patch -d $(CURDIR)/debian/tmp/kernel-open
|
||||||
# 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
|
|
||||||
|
|
||||||
# Fix build errors on 6.13+
|
# Fix build errors on 6.13+
|
||||||
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/746
|
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/746
|
||||||
|
Loading…
x
Reference in New Issue
Block a user