[Pkg-virtualbox-commits] r212 - in trunk/debian: . patches
meskes at alioth.debian.org
meskes at alioth.debian.org
Fri Feb 15 09:27:08 UTC 2008
Author: meskes
Date: 2008-02-15 09:27:07 +0000 (Fri, 15 Feb 2008)
New Revision: 212
Added:
trunk/debian/patches/10-initscript.dpatch
Modified:
trunk/debian/changelog
trunk/debian/patches/00list
Log:
Insert module in initscript.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-02-15 09:10:28 UTC (rev 211)
+++ trunk/debian/changelog 2008-02-15 09:27:07 UTC (rev 212)
@@ -19,6 +19,7 @@
from SVN.
* Added ARCH setting to virtualbox-ose-source rules file so we can cross
compile the module.
+ * Insert module in initscript.
[ Patrick Winnertz ]
* Fix error of postrm if vboxusers is a non-system group (maybe added
Modified: trunk/debian/patches/00list
===================================================================
--- trunk/debian/patches/00list 2008-02-15 09:10:28 UTC (rev 211)
+++ trunk/debian/patches/00list 2008-02-15 09:27:07 UTC (rev 212)
@@ -7,3 +7,5 @@
07-xsession.dpatch
08-module-build.dpatch
09-no-registration.dpatch
+10-initscript.dpatch
+
Added: trunk/debian/patches/10-initscript.dpatch
===================================================================
--- trunk/debian/patches/10-initscript.dpatch (rev 0)
+++ trunk/debian/patches/10-initscript.dpatch 2008-02-15 09:27:07 UTC (rev 212)
@@ -0,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10-initscript.dpatch by Michael Meskes <meskes at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Add modprobe to initscript
+
+ at DPATCH@
+
+--- virtualbox-ose-1.5.4-dfsg/src/VBox/Installer/linux/vboxnet.sh.orig 2007-11-21 20:54:35.000000000 +0100
++++ virtualbox-ose-1.5.4-dfsg/src/VBox/Installer/linux/vboxnet.sh 2008-02-15 10:20:31.000000000 +0100
+@@ -383,10 +383,13 @@
+
+ case "$1" in
+ start)
++ # try to insert module but do not fail if not possible
++ /sbin/modprobe -q vboxdrv || true
+ start
+ ;;
+ stop)
+ stop
++ /sbin/modprobe -qr vboxdrv
+ ;;
+ restart)
+ restart
More information about the Pkg-virtualbox-commits
mailing list