diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-13 00:42:20 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:42:20 +0200 |
commit | a5ec78694960959c9aec67b28bca0f30afd46eeb (patch) | |
tree | 2830bf0c732771e5cc0bfa235dddd354ece7a588 /system/virtualbox-ose/vboxdrv.sh-setup.diff | |
parent | 1d7c033e170e304dfc6245a9f3c2c0a4f18405be (diff) | |
download | slackbuilds-a5ec78694960959c9aec67b28bca0f30afd46eeb.tar.gz |
system/virtualbox-ose: Updated for version 3.1.2
Diffstat (limited to 'system/virtualbox-ose/vboxdrv.sh-setup.diff')
-rw-r--r-- | system/virtualbox-ose/vboxdrv.sh-setup.diff | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/system/virtualbox-ose/vboxdrv.sh-setup.diff b/system/virtualbox-ose/vboxdrv.sh-setup.diff new file mode 100644 index 0000000000..99e3275a8e --- /dev/null +++ b/system/virtualbox-ose/vboxdrv.sh-setup.diff @@ -0,0 +1,60 @@ +--- vboxdrv.sh.in.orig 2009-08-04 19:18:41.000000000 +0200 ++++ vboxdrv.sh.in 2009-08-05 15:07:09.311051154 +0200 +@@ -37,14 +37,8 @@ + + if [ -n "$INSTALL_DIR" ]; then + VBOXMANAGE="$INSTALL_DIR/VBoxManage" +- BUILDVBOXDRV="$INSTALL_DIR/src/vboxdrv/build_in_tmp" +- BUILDVBOXNETFLT="$INSTALL_DIR/src/vboxnetflt/build_in_tmp" +- BUILDVBOXNETADP="$INSTALL_DIR/src/vboxnetadp/build_in_tmp" + else + VBOXMANAGE="/usr/lib/%PACKAGE%/VBoxManage" +- BUILDVBOXDRV="/usr/share/%PACKAGE%/src/vboxdrv/build_in_tmp" +- BUILDVBOXNETFLT="/usr/share/%PACKAGE%/src/vboxnetflt/build_in_tmp" +- BUILDVBOXNETADP="/usr/share/%PACKAGE%/src/vboxnetadp/build_in_tmp" + fi + + if [ -n "$NOLSB" ]; then +@@ -271,41 +265,7 @@ + + setup() + { +- stop +- if find /lib/modules/`uname -r` -name "vboxnetadp\.*" 2>/dev/null|grep -q vboxnetadp; then +- begin_msg "Removing old VirtualBox netadp kernel module" +- find /lib/modules/`uname -r` -name "vboxnetadp\.*" 2>/dev/null|xargs rm -f 2>/dev/null +- succ_msg +- fi +- if find /lib/modules/`uname -r` -name "vboxnetflt\.*" 2>/dev/null|grep -q vboxnetflt; then +- begin_msg "Removing old VirtualBox netflt kernel module" +- find /lib/modules/`uname -r` -name "vboxnetflt\.*" 2>/dev/null|xargs rm -f 2>/dev/null +- succ_msg +- fi +- if find /lib/modules/`uname -r` -name "vboxdrv\.*" 2>/dev/null|grep -q vboxdrv; then +- begin_msg "Removing old VirtualBox kernel module" +- find /lib/modules/`uname -r` -name "vboxdrv\.*" 2>/dev/null|xargs rm -f 2>/dev/null +- succ_msg +- fi +- begin_msg "Recompiling VirtualBox kernel module" +- if ! $BUILDVBOXDRV \ +- --save-module-symvers /tmp/vboxdrv-Module.symvers \ +- --no-print-directory install > $LOG 2>&1; then +- failure "Look at $LOG to find out what went wrong" +- fi +- if ! $BUILDVBOXNETFLT \ +- --use-module-symvers /tmp/vboxdrv-Module.symvers \ +- --no-print-directory install >> $LOG 2>&1; then +- failure "Look at $LOG to find out what went wrong" +- fi +- if ! $BUILDVBOXNETADP \ +- --use-module-symvers /tmp/vboxdrv-Module.symvers \ +- --no-print-directory install >> $LOG 2>&1; then +- failure "Look at $LOG to find out what went wrong" +- fi +- rm -f /etc/vbox/module_not_compiled +- succ_msg +- start ++ echo "Not implemented! Please use the virtualbox-kernel.SlackBuild available at SlackBuilds.org instead." + } + + dmnstatus() |