summaryrefslogtreecommitdiff
path: root/system/kqemu/install.sh-install.patch
diff options
context:
space:
mode:
authorhollywoodb <hollywoodb@fastmail.fm>2010-05-11 15:18:40 +0200
committerEric Hameleers <alien@slackbuilds.org>2010-05-11 15:18:40 +0200
commitc80246572d63bd0727df7e6294c59c92110931b5 (patch)
treeffa92402d7ee9ea0d97546e7e3aad05f100eb761 /system/kqemu/install.sh-install.patch
parent09185668b0756017df6d7387cd35f2bbe81f8c75 (diff)
downloadslackbuilds-c80246572d63bd0727df7e6294c59c92110931b5.tar.gz
system/kqemu: Initial import
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