summaryrefslogtreecommitdiff
path: root/system/virtualbox-ose-addons/rc.vboxadd.diff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-14 23:46:04 +0200
committerRobby Workman <rworkman@slackware.com>2010-05-14 23:46:04 +0200
commite4b0c711c951296aac0dea3285f6e44b992f4ab1 (patch)
tree4397f17afcc93e3d6c1dc5bde9837cacaf729ef8 /system/virtualbox-ose-addons/rc.vboxadd.diff
parent7bc2ec5fb62f83105e11f6a0b64781879eec20be (diff)
downloadslackbuilds-e4b0c711c951296aac0dea3285f6e44b992f4ab1.tar.gz
system/virtualbox-ose-addons: Updated for version 3.1.6.
Diffstat (limited to 'system/virtualbox-ose-addons/rc.vboxadd.diff')
-rw-r--r--system/virtualbox-ose-addons/rc.vboxadd.diff17
1 files changed, 10 insertions, 7 deletions
diff --git a/system/virtualbox-ose-addons/rc.vboxadd.diff b/system/virtualbox-ose-addons/rc.vboxadd.diff
index 209c606f98..4f5c8fe72e 100644
--- a/system/virtualbox-ose-addons/rc.vboxadd.diff
+++ b/system/virtualbox-ose-addons/rc.vboxadd.diff
@@ -1,6 +1,6 @@
---- vboxadd.sh 2009-12-17 15:25:34.000000000 +0100
-+++ vboxadd.sh 2009-12-24 11:20:10.750796198 +0100
-@@ -305,139 +305,13 @@
+--- vboxadd.sh.orig 2010-03-25 20:54:37.000000000 +0100
++++ vboxadd.sh 2010-03-27 18:17:26.464988367 +0100
+@@ -310,142 +310,13 @@
# setup_script
setup()
{
@@ -94,6 +94,9 @@
-
- # Put mount.vboxsf in the right place
- ln -sf "$lib_path/$PACKAGE/mount.vboxsf" /sbin
+- # At least Fedora 11 and Fedora 12 demand on the correct security context when
+- # executing this command from service scripts. Shouldn't hurt for other distributions.
+- chcon -u system_u -t mount_exec_t "$lib_path/$PACKAGE/mount.vboxsf" > /dev/null 2>&1
-
- succ_msg
- if running_vboxguest || running_vboxadd; then
@@ -101,9 +104,9 @@
- else
- start
- fi
-+ echo "Not implemented! Please use the virtualbox-kernel-addons.SlackBuild available at SlackBuilds.org instead."
++ echo "Not implemented! Please use the virtualbox-kernel-addons.SlackBuild available at SlackBuilds.org instead."
}
-
+
# cleanup_script
cleanup()
{
@@ -138,7 +141,7 @@
- # Remove other files
- rm /sbin/mount.vboxsf 2>/dev/null
- rm /etc/udev/rules.d/60-vboxadd.rules 2>/dev/null
-+ echo "Not implemented! Please use removepkg or pkgtool to remove virtualbox-{ose,kernel}-addons instead."
++ echo "Not implemented! Please use removepkg or pkgtool to remove virtualbox-{ose,kernel}-addons instead."
}
-
+
dmnstatus()