28 lines
1 KiB
Diff
28 lines
1 KiB
Diff
|
From 4352df1deaa6dffceed7b8088682cec2f2a158e9 Mon Sep 17 00:00:00 2001
|
||
|
From: modeco80 <lily.modeco80@protonmail.ch>
|
||
|
Date: Sun, 29 Sep 2024 21:51:38 -0400
|
||
|
Subject: [PATCH] Fix NVIDIA blob patch not using BASEDIR
|
||
|
|
||
|
---
|
||
|
patch.sh | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/patch.sh b/patch.sh
|
||
|
index b57d736..d2ef8b3 100755
|
||
|
--- a/patch.sh
|
||
|
+++ b/patch.sh
|
||
|
@@ -508,8 +508,8 @@ echo 'OBJECT_FILES_NON_STANDARD_nv_hooks.o := y' >> ${TARGET}/kernel/nvidia/nvid
|
||
|
sed -i ${TARGET}/.manifest -e '/^kernel\/nvidia\/i2c_nvswitch.c / a \
|
||
|
kernel/unlock/nv_hooks.c 0644 KERNEL_MODULE_SRC INHERIT_PATH_DEPTH:1 MODULE:vgpu'
|
||
|
echo
|
||
|
-if [ -e patches/blob-${VER_BLOB}.diff ]; then
|
||
|
- blobpatch ${TARGET}/kernel/nvidia/nv-kernel.o_binary patches/blob-${VER_BLOB}.diff || exit 1
|
||
|
+if [ -e $BASEDIR/patches/blob-${VER_BLOB}.diff ]; then
|
||
|
+ blobpatch ${TARGET}/kernel/nvidia/nv-kernel.o_binary $BASEDIR/patches/blob-${VER_BLOB}.diff || exit 1
|
||
|
fi
|
||
|
applypatch ${TARGET} setup-vup-hooks.patch
|
||
|
applypatch ${TARGET} filter-for-nvrm-logs.patch
|
||
|
--
|
||
|
2.46.1
|
||
|
|