diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-11-03 15:08:52 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-11-03 15:08:52 +0000 |
commit | 26519213f73f28130ad5b5f094069d4ce9149f22 (patch) | |
tree | 9cf3fb173bd400e748f8d4081e68edf5913460a8 /app-emulation/virtualbox/files | |
parent | Depend on gnome-panel #197908 (diff) | |
download | historical-26519213f73f28130ad5b5f094069d4ce9149f22.tar.gz historical-26519213f73f28130ad5b5f094069d4ce9149f22.tar.bz2 historical-26519213f73f28130ad5b5f094069d4ce9149f22.zip |
Fix desktop entry for bug #196832, typo in wrapper and HAL warning. Thanks to Alessio for providing needed modifications
Package-Manager: portage-2.1.3.16
RepoMan-Options: --force
Diffstat (limited to 'app-emulation/virtualbox/files')
-rw-r--r-- | app-emulation/virtualbox/files/digest-virtualbox-1.4.0 | 3 | ||||
-rw-r--r-- | app-emulation/virtualbox/files/digest-virtualbox-1.5.2-r1 (renamed from app-emulation/virtualbox/files/digest-virtualbox-1.5.2) | 0 | ||||
-rw-r--r-- | app-emulation/virtualbox/files/virtualbox-wrapper | 38 |
3 files changed, 26 insertions, 15 deletions
diff --git a/app-emulation/virtualbox/files/digest-virtualbox-1.4.0 b/app-emulation/virtualbox/files/digest-virtualbox-1.4.0 deleted file mode 100644 index dbee8ac1a533..000000000000 --- a/app-emulation/virtualbox/files/digest-virtualbox-1.4.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 8e89d32a67a3a39271f44039d0583a16 VirtualBox-OSE-1.4.0.tar.bz2 21720127 -RMD160 60a445f8ee68b834f19d8004c329e0aed426a15b VirtualBox-OSE-1.4.0.tar.bz2 21720127 -SHA256 32307799f1d03fd9e87b23588279a627ac3856fbea3d4c44f50a2b9c4194a434 VirtualBox-OSE-1.4.0.tar.bz2 21720127 diff --git a/app-emulation/virtualbox/files/digest-virtualbox-1.5.2 b/app-emulation/virtualbox/files/digest-virtualbox-1.5.2-r1 index c7b9e2c0583e..c7b9e2c0583e 100644 --- a/app-emulation/virtualbox/files/digest-virtualbox-1.5.2 +++ b/app-emulation/virtualbox/files/digest-virtualbox-1.5.2-r1 diff --git a/app-emulation/virtualbox/files/virtualbox-wrapper b/app-emulation/virtualbox/files/virtualbox-wrapper index 4e39565812b1..9b25815c35c6 100644 --- a/app-emulation/virtualbox/files/virtualbox-wrapper +++ b/app-emulation/virtualbox/files/virtualbox-wrapper @@ -29,17 +29,17 @@ if [ "$1" = "shutdown" ]; then SHUTDOWN="true" elif [ ! -e /lib/modules/`uname -r`/misc/vboxdrv.ko ]; then cat << EOF -WARNING: There is no module available for the currente kernel (`uname -r`). - Please recompile the kernel module and install it by +WARNING: There is no module available for the current kernel (`uname -r`). + Please recompile the kernel module and install it by: - sudo emerge -1 virtualbox-modules + sudo emerge -1 app-emulation/virtualbox-modules You will not be able to start VMs until this problem is fixed. EOF elif ! lsmod|grep -q vboxdrv; then cat << EOF WARNING: The vboxdrv kernel module is not loaded. - Please load the kernel by + Please load the kernel module by: sudo modprobe vboxdrv @@ -47,31 +47,45 @@ WARNING: The vboxdrv kernel module is not loaded. EOF elif [ ! -c /dev/vboxdrv ]; then cat << EOF -WARNING: The character device /dev/vboxdrv does not exist. Try +WARNING: The character device /dev/vboxdrv does not exist. + Please try to reload the kernel module by: - sudo /etc/init.d/virtualbox restart + sudo rmmod vboxdrv; sleep 2; sudo modprobe vboxdrv - and if that is not successful, try to re-install the package. + and if that is not successful, try to re-install the package by: + + sudo emerge -1 app-emulation/virtualbox-modules You will not be able to start VMs until this problem is fixed. EOF elif [ ! -w /dev/vboxdrv ]; then if [ "`id | grep vboxusers`" = "" ]; then cat << EOF -WARNING: You are not a member of the "vboxusers" group. Please add yourself - to this group before starting VirtualBox. +WARNING: You are not a member of the "vboxusers" group. + Please add yourself to this group before starting VirtualBox. You will not be able to start VMs until this problem is fixed. EOF else cat << EOF -WARNING: /dev/vboxdrv not writable for some reason. If you recently added the - current user to the vboxusers group then you have to logout and - re-login to take the change effect. +WARNING: /dev/vboxdrv not writable for some reason. + If you recently added the current user to the "vboxusers" group + then you have to logout and re-login to take the change effect. You will not be able to start VMs until this problem is fixed. EOF fi +elif [ ! -e /usr/lib/libhal.so ]; then + cat << EOF +WARNING: libhal was not found on this system. + This can create several side effects thus problems, + when accessing host resources (eg: Cd/Dvd readers). + + The use of "sys-apps/hal" is still recommended, please install it + to meet this requirement by: + + sudo emerge sys-apps/hal +EOF fi export LD_LIBRARY_PATH="$INSTALL_DIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" |