This commit is contained in:
parent
5ec40e2d62
commit
c7ce99848f
2
.github/release-nest-v3
vendored
2
.github/release-nest-v3
vendored
@ -1 +1 @@
|
|||||||
1
|
2
|
@ -18,8 +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
|
||||||
# Apply the patch from debian/patches/0001.patch
|
# Apply the patch from debian/patches/0001.patch
|
||||||
patch -Np2 -i debian/tmp/patches/0001.patch -d debian/tmp/kernel
|
patch -Np2 -i debian/patches/0001.patch -d debian/tmp/kernel
|
||||||
patch -Np2 -i debian/tmp/patches/0001.patch -d debian/tmp/kernel-open
|
patch -Np2 -i debian/patches/0001.patch -d debian/tmp/kernel-open
|
||||||
# NVENC/NvFBC
|
# 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/\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"
|
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"
|
||||||
@ -33,8 +33,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
|
||||||
# Apply the patch from debian/patches/0001.patch
|
# Apply the patch from debian/patches/0001.patch
|
||||||
patch -Np2 -i debian/tmp/patches/0001.patch -d debian/tmp/kernel
|
patch -Np2 -i debian/patches/0001.patch -d debian/tmp/kernel
|
||||||
patch -Np2 -i debian/tmp/patches/0001.patch -d debian/tmp/kernel-open
|
patch -Np2 -i debian/patches/0001.patch -d debian/tmp/kernel-open
|
||||||
# Replace libs with 32 bit
|
# Replace libs with 32 bit
|
||||||
rm -rf debian/tmp/*.so*
|
rm -rf debian/tmp/*.so*
|
||||||
cp -rf ./NVIDIA-Linux-*/32/* debian/tmp
|
cp -rf ./NVIDIA-Linux-*/32/* debian/tmp
|
||||||
|
Loading…
Reference in New Issue
Block a user