Take 2
All checks were successful
PikaOS Package Build Only (amd64-v3) / build (push) Successful in 1m9s
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 1m14s

This commit is contained in:
Ward from fusion-voyager-3 2025-01-31 00:28:05 +03:00
parent 20aa8b3b1d
commit 5143025ffd
7 changed files with 18 additions and 14 deletions

View File

@ -1 +1 @@
1
5

View File

@ -1 +1 @@
4
5

View File

@ -1,4 +1,5 @@
#! /usr/bin/dh-exec
libnvidia-ngx.so.570.86.16 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
_nvngx.dll usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia/wine
nvngx.dll usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia/wine
nvngx.dll usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia/wine
nvngx_dlssg.dll usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia/wine

View File

@ -2,4 +2,5 @@
nvidia-bug-report.sh usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
nvidia-debugdump usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
nvidia-application-profiles-570.86.16-rc usr/share/nvidia/
nvidia-application-profiles-570.86.16-key-documentation usr/share/nvidia/
nvidia-application-profiles-570.86.16-key-documentation usr/share/nvidia/
sandboxutils-filelist.json usr/share/nvidia/files.d/

View File

@ -1,5 +1,6 @@
systemd/system/nvidia-suspend.service usr/lib/systemd/system/
systemd/system/nvidia-hibernate.service usr/lib/systemd/system/
systemd/system/nvidia-resume.service usr/lib/systemd/system/
systemd/system/nvidia-suspend-then-hibernate.service usr/lib/systemd/system/
systemd/system-sleep/nvidia usr/lib/systemd/system-sleep/
systemd/nvidia-sleep.sh usr/bin/

View File

@ -3,3 +3,4 @@
systemctl enable nvidia-hibernate || true
systemctl enable nvidia-resume || true
systemctl enable nvidia-suspend || true
systemctl enable nvidia-suspend-then-hibernate || true

View File

@ -61,27 +61,27 @@ ifeq (i386,$(DEB_HOST_ARCH))
# 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/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+
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/746
patch -Np2 -i $(CURDIR)/debian/patches/0006-crypto-Add-fix-for-6.13-Module-compilation.patch -d $(CURDIR)/debian/tmp/kernel-open
#patch -Np2 -i $(CURDIR)/debian/patches/0006-crypto-Add-fix-for-6.13-Module-compilation.patch -d $(CURDIR)/debian/tmp/kernel-open
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/751
patch -Np2 -i $(CURDIR)/debian/patches/0007-nvidia-nv-Convert-symbol-namespace-to-string-literal.patch -d $(CURDIR)/debian/tmp/kernel-open
#patch -Np2 -i $(CURDIR)/debian/patches/0007-nvidia-nv-Convert-symbol-namespace-to-string-literal.patch -d $(CURDIR)/debian/tmp/kernel-open
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/747
patch -Np2 -i $(CURDIR)/debian/patches/0008-Kbuild-Use-absolute-paths-for-symbolic-links.patch -d $(CURDIR)/debian/tmp/kernel
patch -Np2 -i $(CURDIR)/debian/patches/0008-Kbuild-Use-absolute-paths-for-symbolic-links.patch -d $(CURDIR)/debian/tmp/kernel-open
#patch -Np2 -i $(CURDIR)/debian/patches/0008-Kbuild-Use-absolute-paths-for-symbolic-links.patch -d $(CURDIR)/debian/tmp/kernel
#patch -Np2 -i $(CURDIR)/debian/patches/0008-Kbuild-Use-absolute-paths-for-symbolic-links.patch -d $(CURDIR)/debian/tmp/kernel-open
# Fixes fbdev on 6.13+
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/749
# https://gist.github.com/xtexChooser/da92d9df902788b75f746f348552ae80
patch -Np2 -i $(CURDIR)/debian/patches/0009-FROM-AOSC-Use-linux-aperture.c-for-removing-conflict.patch -d $(CURDIR)/debian/tmp/kernel
patch -Np2 -i $(CURDIR)/debian/patches/0009-FROM-AOSC-Use-linux-aperture.c-for-removing-conflict.patch -d $(CURDIR)/debian/tmp/kernel-open
patch -Np2 -i $(CURDIR)/debian/patches/0010-FROM-AOSC-TTM-fbdev-emulation-for-Linux-6.13.patch -d $(CURDIR)/debian/tmp/kernel
patch -Np2 -i $(CURDIR)/debian/patches/0010-FROM-AOSC-TTM-fbdev-emulation-for-Linux-6.13.patch -d $(CURDIR)/debian/tmp/kernel-open
#patch -Np2 -i $(CURDIR)/debian/patches/0009-FROM-AOSC-Use-linux-aperture.c-for-removing-conflict.patch -d $(CURDIR)/debian/tmp/kernel
#patch -Np2 -i $(CURDIR)/debian/patches/0009-FROM-AOSC-Use-linux-aperture.c-for-removing-conflict.patch -d $(CURDIR)/debian/tmp/kernel-open
#patch -Np2 -i $(CURDIR)/debian/patches/0010-FROM-AOSC-TTM-fbdev-emulation-for-Linux-6.13.patch -d $(CURDIR)/debian/tmp/kernel
#patch -Np2 -i $(CURDIR)/debian/patches/0010-FROM-AOSC-TTM-fbdev-emulation-for-Linux-6.13.patch -d $(CURDIR)/debian/tmp/kernel-open
# Replace libs with 32 bit
rm -rf debian/tmp/*.so*