Magellan Linux

Annotation of /trunk/virtualbox/patches/virtualbox-4.2.6-installer-magellan.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2060 - (hide annotations) (download)
Wed Jan 30 14:49:25 2013 UTC (11 years, 3 months ago) by niro
File size: 2134 byte(s)
-branded new installer files too
1 niro 2060 diff -Naur VirtualBox-4.2.6/src/VBox/Installer/linux/scripts/check_module_dependencies.sh VirtualBox-4.2.6-magellan/src/VBox/Installer/linux/scripts/check_module_dependencies.sh
2     --- VirtualBox-4.2.6/src/VBox/Installer/linux/scripts/check_module_dependencies.sh 2012-12-19 18:27:12.000000000 +0000
3     +++ VirtualBox-4.2.6-magellan/src/VBox/Installer/linux/scripts/check_module_dependencies.sh 2013-01-30 16:50:45.414178111 +0000
4     @@ -342,6 +342,11 @@
5     PATTERN_GCC_MAKE=
6     PATTERN_HEADERS=
7     PATTERN_HEADERS_META=
8     + elif $file_exists /etc/mageversion; then # Gentoo
9     + GET_KERN_PACKAGE=
10     + PATTERN_GCC_MAKE=
11     + PATTERN_HEADERS=
12     + PATTERN_HEADERS_META=
13     elif $file_exists /etc/lfs-release -a -d /etc/rc.d/init.d; then # LFS
14     GET_KERN_PACKAGE=
15     PATTERN_GCC_MAKE=
16     diff -Naur VirtualBox-4.2.6/src/VBox/Installer/linux/vboxautostart-service.sh.in VirtualBox-4.2.6-magellan/src/VBox/Installer/linux/vboxautostart-service.sh.in
17     --- VirtualBox-4.2.6/src/VBox/Installer/linux/vboxautostart-service.sh.in 2012-12-19 18:27:12.000000000 +0000
18     +++ VirtualBox-4.2.6-magellan/src/VBox/Installer/linux/vboxautostart-service.sh.in 2013-01-30 16:54:07.626235188 +0000
19     @@ -53,6 +53,8 @@
20     system=debian
21     elif [ -f /etc/gentoo-release ]; then
22     system=gentoo
23     +elif [ -f /etc/mageversion ]; then
24     + system=magellan
25     elif [ -f /etc/arch-release ]; then
26     system=arch
27     elif [ -f /etc/slackware-version ]; then
28     @@ -177,6 +179,31 @@
29     fi
30     fi
31    
32     +if [ "$system" = "magellan" ]; then
33     + . /etc/rc.d/init.d/functions
34     + start_daemon() {
35     + usr="$1"
36     + shift
37     + bin="$1"
38     + shift
39     + start-stop-daemon --background --chuid $usr --start --exec $bin -- $@
40     + }
41     + killproc() {
42     + start-stop-daemon --stop --exec $@
43     + }
44     + if [ -n "$NOLSB" ]; then
45     + fail_msg() {
46     + evaluate_retval
47     + }
48     + succ_msg() {
49     + evaluate_retval
50     + }
51     + begin_msg() {
52     + echo -e ${COLOREDSTAR}"$1"
53     + }
54     + fi
55     +fi
56     +
57     if [ "$system" = "arch" ]; then
58     USECOLOR=yes
59     . /etc/rc.d/functions