aboutsummaryrefslogtreecommitdiff
path: root/system/virtualbox-addons/vbox-uninstall-guest-additions
diff options
context:
space:
mode:
Diffstat (limited to 'system/virtualbox-addons/vbox-uninstall-guest-additions')
-rw-r--r--system/virtualbox-addons/vbox-uninstall-guest-additions10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/virtualbox-addons/vbox-uninstall-guest-additions b/system/virtualbox-addons/vbox-uninstall-guest-additions
new file mode 100644
index 0000000000000..afa4e98ccdc71
--- /dev/null
+++ b/system/virtualbox-addons/vbox-uninstall-guest-additions
@@ -0,0 +1,10 @@
+#!/bin/sh
+# This executable provides a well-known way to uninstall VirtualBox Guest
+# Additions in order to re-install them from a different source. A common case
+# is uninstalling distribution-provide Additions to install the version provided
+# by VirtualBox. Distributions should put the right command in here to do the
+# removal, e.g. "dnf remove VirtualBox-guest-additions". Leaving kernel modules
+# provided by the distribution kernel package in place is acceptable if the
+# location does not clash with the VirtualBox-provided module location (misc).
+
+/sbin/removepkg virtualbox-addons virtualbox-kernel-addons