Annotation of /trunk/virtualbox/patches/virtualbox-3.1.4-additions-magellan.patch
Parent Directory | Revision Log
Revision 984 -
(hide annotations)
(download)
Fri Feb 19 00:11:28 2010 UTC (14 years, 7 months ago) by niro
File size: 3136 byte(s)
Fri Feb 19 00:11:28 2010 UTC (14 years, 7 months ago) by niro
File size: 3136 byte(s)
patches for 3.1.4
1 | niro | 984 | diff -Naur VirtualBox-3.1.4_OSE/src/VBox/Additions/linux/installer/vboxadd-service.sh VirtualBox-3.1.4_OSE-magellan/src/VBox/Additions/linux/installer/vboxadd-service.sh |
2 | --- VirtualBox-3.1.4_OSE/src/VBox/Additions/linux/installer/vboxadd-service.sh 2010-02-12 20:47:26.000000000 +0100 | ||
3 | +++ VirtualBox-3.1.4_OSE-magellan/src/VBox/Additions/linux/installer/vboxadd-service.sh 2010-02-19 01:29:09.000000000 +0100 | ||
4 | @@ -45,6 +45,9 @@ | ||
5 | elif [ -f /etc/gentoo-release ]; then | ||
6 | system=gentoo | ||
7 | PIDFILE="/var/run/vboxadd-service" | ||
8 | +elif [ -f /etc/mageversion ]; then | ||
9 | + system=magellan | ||
10 | + PIDFILE="/var/run/vboxadd-service" | ||
11 | elif [ -f /etc/arch-release ]; then | ||
12 | system=arch | ||
13 | PIDFILE="/var/run/vboxadd-service" | ||
14 | @@ -148,6 +151,29 @@ | ||
15 | fi | ||
16 | fi | ||
17 | |||
18 | +if [ "$system" = "magellan" ]; then | ||
19 | + . /etc/rc.d/init.d/functions | ||
20 | + daemon() { | ||
21 | + start-stop-daemon --start --exec $1 -- $2 | ||
22 | + } | ||
23 | + | ||
24 | + killproc() { | ||
25 | + start-stop-daemon --stop --exec $@ | ||
26 | + } | ||
27 | + | ||
28 | + fail_msg() { | ||
29 | + evaluate_retval | ||
30 | + } | ||
31 | + | ||
32 | + succ_msg() { | ||
33 | + evaluate_retval | ||
34 | + } | ||
35 | + | ||
36 | + begin() { | ||
37 | + echo -e ${COLOREDSTAR}"$1" | ||
38 | + } | ||
39 | +fi | ||
40 | + | ||
41 | if [ "$system" = "arch" ]; then | ||
42 | USECOLOR=yes | ||
43 | . /etc/rc.d/functions | ||
44 | diff -Naur VirtualBox-3.1.4_OSE/src/VBox/Additions/linux/installer/vboxadd.sh VirtualBox-3.1.4_OSE-magellan/src/VBox/Additions/linux/installer/vboxadd.sh | ||
45 | --- VirtualBox-3.1.4_OSE/src/VBox/Additions/linux/installer/vboxadd.sh 2010-02-12 20:47:26.000000000 +0100 | ||
46 | +++ VirtualBox-3.1.4_OSE-magellan/src/VBox/Additions/linux/installer/vboxadd.sh 2010-02-19 01:31:06.000000000 +0100 | ||
47 | @@ -69,6 +69,8 @@ | ||
48 | system=suse | ||
49 | elif [ -f /etc/gentoo-release ]; then | ||
50 | system=gentoo | ||
51 | +elif [ -f /etc/mageversion ]; then | ||
52 | + system=magellan | ||
53 | elif [ -f /etc/lfs-release -a -d /etc/rc.d/init.d ]; then | ||
54 | system=lfs | ||
55 | else | ||
56 | @@ -141,6 +143,19 @@ | ||
57 | fi | ||
58 | fi | ||
59 | |||
60 | +if [ "$system" = "magellan" ]; then | ||
61 | + . /etc/rc.d/init.d/functions | ||
62 | + fail_msg() { | ||
63 | + evaluate_retval | ||
64 | + } | ||
65 | + succ_msg() { | ||
66 | + evaluate_retval | ||
67 | + } | ||
68 | + begin() { | ||
69 | + echo -e ${COLOREDSTAR}"$1" | ||
70 | + } | ||
71 | +fi | ||
72 | + | ||
73 | if [ "$system" = "lfs" ]; then | ||
74 | . /etc/rc.d/init.d/functions | ||
75 | fail_msg() { | ||
76 | diff -Naur VirtualBox-3.1.4_OSE/src/VBox/Additions/linux/installer/vboxadd-x11.sh VirtualBox-3.1.4_OSE-magellan/src/VBox/Additions/linux/installer/vboxadd-x11.sh | ||
77 | --- VirtualBox-3.1.4_OSE/src/VBox/Additions/linux/installer/vboxadd-x11.sh 2010-02-12 20:47:26.000000000 +0100 | ||
78 | +++ VirtualBox-3.1.4_OSE-magellan/src/VBox/Additions/linux/installer/vboxadd-x11.sh 2010-02-19 01:29:23.000000000 +0100 | ||
79 | @@ -77,6 +77,8 @@ | ||
80 | system=suse | ||
81 | elif [ -f /etc/gentoo-release ]; then | ||
82 | system=gentoo | ||
83 | +elif [ -f /etc/mageversion ]; then | ||
84 | + system=magellan | ||
85 | elif [ -f /etc/lfs-release -a -d /etc/rc.d/init.d ]; then | ||
86 | system=lfs | ||
87 | else | ||
88 | @@ -149,6 +151,19 @@ | ||
89 | fi | ||
90 | fi | ||
91 | |||
92 | +if [ "$system" = "magellan" ]; then | ||
93 | + . /etc/rc.d/init.d/functions | ||
94 | + fail_msg() { | ||
95 | + evaluate_retval | ||
96 | + } | ||
97 | + succ_msg() { | ||
98 | + evaluate_retval | ||
99 | + } | ||
100 | + begin() { | ||
101 | + echo -e ${COLOREDSTAR}"$1" | ||
102 | + } | ||
103 | +fi | ||
104 | + | ||
105 | if [ "$system" = "lfs" ]; then | ||
106 | . /etc/rc.d/init.d/functions | ||
107 | fail_msg() { |