forked from pool/virtualbox
Accepting request 353709 from home:bmwiedemann:branches:Virtualization
- vboxadd script no more fails on remote_fs failure (bnc#908383) change needs some testing OBS-URL: https://build.opensuse.org/request/show/353709 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=241
This commit is contained in:
parent
ad60d1c8dd
commit
0de15ce834
@ -1,16 +1,12 @@
|
|||||||
Index: src/VBox/Additions/linux/installer/vboxadd.sh
|
--- src/VBox/Additions/linux/installer/vboxadd.sh.orig 2015-12-18 17:17:03.000000000 +0100
|
||||||
===================================================================
|
+++ src/VBox/Additions/linux/installer/vboxadd.sh 2016-01-14 15:45:13.793994484 +0100
|
||||||
--- src/VBox/Additions/linux/installer/vboxadd.sh.orig
|
@@ -23,9 +23,12 @@
|
||||||
+++ src/VBox/Additions/linux/installer/vboxadd.sh
|
|
||||||
@@ -21,11 +21,12 @@
|
|
||||||
#
|
|
||||||
### BEGIN INIT INFO
|
|
||||||
# Provides: vboxadd
|
# Provides: vboxadd
|
||||||
-# Required-Start:
|
# Required-Start:
|
||||||
-# Required-Stop:
|
# Required-Stop:
|
||||||
-# Default-Start: 2 3 4 5
|
-# Default-Start: 2 3 4 5
|
||||||
+# Required-Start: $remote_fs
|
+# Should-Start: $remote_fs
|
||||||
+# Required-Stop: $remote_fs
|
+# Should-Stop: $remote_fs
|
||||||
+# Default-Start: 2 3 5
|
+# Default-Start: 2 3 5
|
||||||
# Default-Stop: 0 1 6
|
# Default-Stop: 0 1 6
|
||||||
# Description: VirtualBox Linux Additions kernel modules
|
# Description: VirtualBox Linux Additions kernel modules
|
||||||
@ -18,7 +14,7 @@ Index: src/VBox/Additions/linux/installer/vboxadd.sh
|
|||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|
||||||
PATH=$PATH:/bin:/sbin:/usr/sbin
|
PATH=$PATH:/bin:/sbin:/usr/sbin
|
||||||
@@ -224,12 +225,6 @@ do_vboxguest_non_udev()
|
@@ -224,12 +227,6 @@
|
||||||
fail "Cannot create device $dev with major $maj and minor $min"
|
fail "Cannot create device $dev with major $maj and minor $min"
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
@ -31,7 +27,7 @@ Index: src/VBox/Additions/linux/installer/vboxadd.sh
|
|||||||
|
|
||||||
if [ ! -c $userdev ]; then
|
if [ ! -c $userdev ]; then
|
||||||
maj=10
|
maj=10
|
||||||
@@ -240,12 +235,6 @@ do_vboxguest_non_udev()
|
@@ -240,12 +237,6 @@
|
||||||
rmmod vboxguest 2>/dev/null
|
rmmod vboxguest 2>/dev/null
|
||||||
fail "Cannot create device $userdev with major $maj and minor $min"
|
fail "Cannot create device $userdev with major $maj and minor $min"
|
||||||
}
|
}
|
||||||
@ -44,7 +40,7 @@ Index: src/VBox/Additions/linux/installer/vboxadd.sh
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@@ -260,6 +249,13 @@ start()
|
@@ -260,6 +251,13 @@
|
||||||
fi
|
fi
|
||||||
test -n "$INSTALL_DIR" -a -n "$INSTALL_VER" ||
|
test -n "$INSTALL_DIR" -a -n "$INSTALL_VER" ||
|
||||||
fail "Configuration file $config not complete"
|
fail "Configuration file $config not complete"
|
||||||
@ -58,7 +54,7 @@ Index: src/VBox/Additions/linux/installer/vboxadd.sh
|
|||||||
uname -r | grep -q -E '^2\.6|^3|^4' 2>/dev/null &&
|
uname -r | grep -q -E '^2\.6|^3|^4' 2>/dev/null &&
|
||||||
ps -A -o comm | grep -q '/*udevd$' 2>/dev/null ||
|
ps -A -o comm | grep -q '/*udevd$' 2>/dev/null ||
|
||||||
no_udev=1
|
no_udev=1
|
||||||
@@ -470,33 +466,8 @@ extra_setup()
|
@@ -470,33 +468,8 @@
|
||||||
# setup_script
|
# setup_script
|
||||||
setup()
|
setup()
|
||||||
{
|
{
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 14 14:47:01 UTC 2016 - bwiedemann@suse.com
|
||||||
|
|
||||||
|
- vboxadd script no more fails on remote_fs failure (bnc#908383)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 26 19:58:13 UTC 2015 - Larry.Finger@lwfinger.net
|
Sat Dec 26 19:58:13 UTC 2015 - Larry.Finger@lwfinger.net
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package virtualbox
|
# spec file for package virtualbox
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
Loading…
Reference in New Issue
Block a user