a
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 1m15s

This commit is contained in:
ferreo 2024-11-19 08:40:43 +00:00
parent abffea3d0a
commit 98172f440f
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
2
1

View File

@ -18,8 +18,8 @@ ifeq (amd64,$(DEB_HOST_ARCH))
# Extract all manpages
gunzip debian/tmp/*.1.gz -k
# Apply the patch from ./debian/patches/0001.patch
patch -Np2 -i $(srcdir)/debian/patches/0001.patch -d $(srcdir)/debian/tmp/kernel
patch -Np2 -i $(srcdir)/debian/patches/0001.patch -d $(srcdir)/debian/tmp/kernel-open
patch -Np2 -i $(env | grep -w "PWD" | cut -c5-)/debian/patches/0001.patch -d $(env | grep -w "PWD" | cut -c5-)/debian/tmp/kernel
patch -Np2 -i $(env | grep -w "PWD" | cut -c5-)/debian/patches/0001.patch -d $(env | grep -w "PWD" | cut -c5-)/debian/tmp/kernel-open
# NVENC/NvFBC
sed -i 's/\xe8\x35\x3e\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x3e\xfe\xff\x29\xc0\x41\x89\xc4/g' "debian/tmp/libnvidia-encode.so.565.57.01"
sed -i 's/\x85\xc0\x0f\x84\x9b\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g' "debian/tmp/libnvidia-fbc.so.565.57.01"