- Make changes suggested in bsc#1060072
The specific changes are: (1) Remove the test in vboxdrv.sh as the script tests for the wrong file. This is safe because if the package is not installed, the script will not be there. (2) Move VBoxDbg.so to package virtualbox-qt. With this change, packages libQt5Core, libQt5Gui and libQt5Widgets are no longer needed with package virtualbox. As a result, a text-only server no longer needs to load QT to support headless virtual machines. OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=367
This commit is contained in:
committed by
Git OBS Bridge
parent
76f0fe63c0
commit
4ad73fc134
14
vboxdrv.sh
14
vboxdrv.sh
@@ -52,20 +52,6 @@ export BUILD_TYPE
|
||||
export USERNAME
|
||||
export USER=$USERNAME
|
||||
|
||||
if test -n "${INSTALL_DIR}" && test -x "${INSTALL_DIR}/VirtualBox"; then
|
||||
MODULE_SRC="${INSTALL_DIR}/src/vboxhost"
|
||||
elif test -x /usr/lib/virtualbox/VirtualBox; then
|
||||
INSTALL_DIR=/usr/lib/virtualbox
|
||||
MODULE_SRC="/usr/share/virtualbox/src/vboxhost"
|
||||
elif test -x "${SCRIPT_DIR}/VirtualBox"; then
|
||||
# Executing from the build directory
|
||||
INSTALL_DIR="${SCRIPT_DIR}"
|
||||
MODULE_SRC="${INSTALL_DIR}/src"
|
||||
else
|
||||
# Silently exit if the package was uninstalled but not purged.
|
||||
# Applies to Debian packages only (but shouldn't hurt elsewhere)
|
||||
exit 0
|
||||
fi
|
||||
VIRTUALBOX="${INSTALL_DIR}/VirtualBox"
|
||||
VBOXMANAGE="${INSTALL_DIR}/VBoxManage"
|
||||
BUILDINTMP="${MODULE_SRC}/build_in_tmp"
|
||||
|
Reference in New Issue
Block a user