summaryrefslogtreecommitdiff
path: root/system/kqemu/install.sh-install.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/kqemu/install.sh-install.patch')
-rw-r--r--system/kqemu/install.sh-install.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/system/kqemu/install.sh-install.patch b/system/kqemu/install.sh-install.patch
new file mode 100644
index 0000000000..a76498c4ae
--- /dev/null
+++ b/system/kqemu/install.sh-install.patch
@@ -0,0 +1,17 @@
+--- install.sh.orig 2007-02-25 15:03:06.000000000 -0600
++++ install.sh 2007-02-25 15:05:54.000000000 -0600
+@@ -10,9 +10,10 @@
+ fi
+
+ # Find kernel install path
+-kernel_path="/lib/modules/`uname -r`"
++kernel_path="/lib/modules/$KERNELVERSION"
+
+-mkdir -p "$kernel_path/misc"
+-cp "$module" "$kernel_path/misc"
++mkdir -p "$DESTDIR/$kernel_path/misc"
++cp "$module" "$DESTDIR/$kernel_path/misc"
++
++# /sbin/depmod -a # Done in doinst.sh
+
+-/sbin/depmod -a