1 |
jokey 07/11/03 15:08:53 |
2 |
|
3 |
Modified: virtualbox-wrapper |
4 |
Added: digest-virtualbox-1.5.2-r1 |
5 |
Removed: digest-virtualbox-1.5.2 digest-virtualbox-1.4.0 |
6 |
Log: |
7 |
Fix desktop entry for bug #196832, typo in wrapper and HAL warning. Thanks to Alessio for providing needed modifications |
8 |
(Portage version: 2.1.3.16, RepoMan options: --force) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 app-emulation/virtualbox/files/virtualbox-wrapper |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/files/virtualbox-wrapper?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/files/virtualbox-wrapper?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/files/virtualbox-wrapper?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: virtualbox-wrapper |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/files/virtualbox-wrapper,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- virtualbox-wrapper 22 Oct 2007 22:19:38 -0000 1.2 |
24 |
+++ virtualbox-wrapper 3 Nov 2007 15:08:52 -0000 1.3 |
25 |
@@ -29,17 +29,17 @@ |
26 |
SHUTDOWN="true" |
27 |
elif [ ! -e /lib/modules/`uname -r`/misc/vboxdrv.ko ]; then |
28 |
cat << EOF |
29 |
-WARNING: There is no module available for the currente kernel (`uname -r`). |
30 |
- Please recompile the kernel module and install it by |
31 |
+WARNING: There is no module available for the current kernel (`uname -r`). |
32 |
+ Please recompile the kernel module and install it by: |
33 |
|
34 |
- sudo emerge -1 virtualbox-modules |
35 |
+ sudo emerge -1 app-emulation/virtualbox-modules |
36 |
|
37 |
You will not be able to start VMs until this problem is fixed. |
38 |
EOF |
39 |
elif ! lsmod|grep -q vboxdrv; then |
40 |
cat << EOF |
41 |
WARNING: The vboxdrv kernel module is not loaded. |
42 |
- Please load the kernel by |
43 |
+ Please load the kernel module by: |
44 |
|
45 |
sudo modprobe vboxdrv |
46 |
|
47 |
@@ -47,31 +47,45 @@ |
48 |
EOF |
49 |
elif [ ! -c /dev/vboxdrv ]; then |
50 |
cat << EOF |
51 |
-WARNING: The character device /dev/vboxdrv does not exist. Try |
52 |
+WARNING: The character device /dev/vboxdrv does not exist. |
53 |
+ Please try to reload the kernel module by: |
54 |
|
55 |
- sudo /etc/init.d/virtualbox restart |
56 |
+ sudo rmmod vboxdrv; sleep 2; sudo modprobe vboxdrv |
57 |
|
58 |
- and if that is not successful, try to re-install the package. |
59 |
+ and if that is not successful, try to re-install the package by: |
60 |
+ |
61 |
+ sudo emerge -1 app-emulation/virtualbox-modules |
62 |
|
63 |
You will not be able to start VMs until this problem is fixed. |
64 |
EOF |
65 |
elif [ ! -w /dev/vboxdrv ]; then |
66 |
if [ "`id | grep vboxusers`" = "" ]; then |
67 |
cat << EOF |
68 |
-WARNING: You are not a member of the "vboxusers" group. Please add yourself |
69 |
- to this group before starting VirtualBox. |
70 |
+WARNING: You are not a member of the "vboxusers" group. |
71 |
+ Please add yourself to this group before starting VirtualBox. |
72 |
|
73 |
You will not be able to start VMs until this problem is fixed. |
74 |
EOF |
75 |
else |
76 |
cat << EOF |
77 |
-WARNING: /dev/vboxdrv not writable for some reason. If you recently added the |
78 |
- current user to the vboxusers group then you have to logout and |
79 |
- re-login to take the change effect. |
80 |
+WARNING: /dev/vboxdrv not writable for some reason. |
81 |
+ If you recently added the current user to the "vboxusers" group |
82 |
+ then you have to logout and re-login to take the change effect. |
83 |
|
84 |
You will not be able to start VMs until this problem is fixed. |
85 |
EOF |
86 |
fi |
87 |
+elif [ ! -e /usr/lib/libhal.so ]; then |
88 |
+ cat << EOF |
89 |
+WARNING: libhal was not found on this system. |
90 |
+ This can create several side effects thus problems, |
91 |
+ when accessing host resources (eg: Cd/Dvd readers). |
92 |
+ |
93 |
+ The use of "sys-apps/hal" is still recommended, please install it |
94 |
+ to meet this requirement by: |
95 |
+ |
96 |
+ sudo emerge sys-apps/hal |
97 |
+EOF |
98 |
fi |
99 |
|
100 |
export LD_LIBRARY_PATH="$INSTALL_DIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" |
101 |
|
102 |
|
103 |
|
104 |
1.1 app-emulation/virtualbox/files/digest-virtualbox-1.5.2-r1 |
105 |
|
106 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/files/digest-virtualbox-1.5.2-r1?rev=1.1&view=markup |
107 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox/files/digest-virtualbox-1.5.2-r1?rev=1.1&content-type=text/plain |
108 |
|
109 |
Index: digest-virtualbox-1.5.2-r1 |
110 |
=================================================================== |
111 |
MD5 2940f92160c88e241606f0fa91428b2c VirtualBox-1.5.2_OSE.tar.bz2 24227070 |
112 |
RMD160 ca9ae0ad715109835800a2258124101ada679ede VirtualBox-1.5.2_OSE.tar.bz2 24227070 |
113 |
SHA256 a34c3ef9d3c07bbf8fd5c1b62a7a1f05185a1760299ac99f19dd6926f1dc39bd VirtualBox-1.5.2_OSE.tar.bz2 24227070 |
114 |
|
115 |
|
116 |
|
117 |
-- |
118 |
gentoo-commits@g.o mailing list |