[Lunar-commits] <moonbase-other> VirtualBox: remove the sources directory after install.

Florin Braescu florin at lunar-linux.org
Sat Mar 30 14:45:33 CET 2013


commit 9dad72b58b30c957b5ec696610515aeafd4e8e5e
Author: Florin Braescu <florin at lunar-linux.org>
Date: Sat, 30 Mar 2013 06:45:33 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/9dad72b58b30c957b5ec696610515aeafd4e8e5e

VirtualBox: remove the sources directory after install.
---
  virtual/VirtualBox/DETAILS      | +3/-3     
  virtual/VirtualBox/POST_INSTALL | +3/-0     
  virtual/VirtualBox/VirtualBox   | +3/-0     
  3 files changed, 9 insertions(+), 3 deletions(-)

--- a/virtual/VirtualBox/DETAILS
+++ b/virtual/VirtualBox/DETAILS
@@ -1,12 +1,12 @@
           MODULE=VirtualBox
-         VERSION=4.2.8
+         VERSION=4.2.10
           SOURCE=$MODULE-$VERSION.tar.bz2
       SOURCE_URL=http://download.virtualbox.org/virtualbox/$VERSION
-      SOURCE_VFY=sha1:9c2d5bb7dea65ddd05593441bd35979dad4bf9cf
+      SOURCE_VFY=sha1:a322909053c652b38717dd3c9efa3104383d4afd
    MODULE_PREFIX=${VIRTUALBOX_PREFIX:-/usr/lib/virtualbox}
         WEB_SITE=http://virtualbox.org
          ENTERED=20071004
-         UPDATED=20130302
+         UPDATED=20130316
            SHORT="Full virtualizer for x86 hardware"
 
 cat << EOF
--- a/virtual/VirtualBox/POST_INSTALL
+++ b/virtual/VirtualBox/POST_INSTALL
@@ -1,2 +1,5 @@
 # Install the kernel module
 lin -c virtualbox-module
+
+# Remove the sources directory
+rm -fR $SOURCE_DIRECTORY
--- a/virtual/VirtualBox/VirtualBox
+++ b/virtual/VirtualBox/VirtualBox
@@ -95,6 +95,9 @@ if [ "$SHUTDOWN" = "true" ]; then
     exit 0
 fi
 
+chgrp vboxusers /dev/vboxdrv
+chmod g+rwx /dev/vboxdrv
+
 APP=`which $0`
 APP=${APP##/*/}
 case "$APP" in




More information about the Lunar-commits mailing list