[Lunar-commits] r26244 - moonbase/trunk/x11-utils/virtualbox

Jannis Pohlmann jannis at lunar-linux.org
Tue Oct 16 21:45:55 CEST 2007


Author: jannis
Date: 2007-10-16 21:45:55 +0200 (Tue, 16 Oct 2007)
New Revision: 26244

Modified:
   moonbase/trunk/x11-utils/virtualbox/BUILD
Log:
Write INSTALL_DIR into vbox.cfg so that '/etc/init.d/vboxdrv setup' is able to recompile the kernel module if neccessary.

Modified: moonbase/trunk/x11-utils/virtualbox/BUILD
===================================================================
--- moonbase/trunk/x11-utils/virtualbox/BUILD	2007-10-16 19:03:32 UTC (rev 26243)
+++ moonbase/trunk/x11-utils/virtualbox/BUILD	2007-10-16 19:45:55 UTC (rev 26244)
@@ -36,8 +36,9 @@
   # Substitute $INSTALL_DIR with the module prefix
   sed -i -e 's:$INSTALL_DIR:'$MODULE_PREFIX':g' /usr/bin/VirtualBox &&
 
-  # Install an empty config file to let VirtualBox know it is installed
-  mkdir -p /etc/vbox && touch /etc/vbox/vbox.cfg &&
+  # Install the config file to let VirtualBox know it is installed
+  mkdir -p /etc/vbox && 
+  echo "INSTALL_DIR=$MODULE_PREFIX" > /etc/vbox/vbox.cfg &&
 
   # Create the vboxusers group
   groupadd -f vboxusers



More information about the Lunar-commits mailing list