VirtualBox

Changeset 99503 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Apr 21, 2023 1:36:45 PM (23 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157000
Message:

Additions/linux/installer: Use VBoxControl instead of VBoxClient to query the installed Guest Additions version. This otherwise will break pure server installations where X11 is not installed, as VBoxClient requires several X libs and thus fails there. This in turn will trigger module rebuilds on every boot. bugref:10359

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r99502 r99503  
    150150
    151151# Attempt to detect VirtualBox Guest Additions version and revision information.
    152 VBOXCLIENT="${INSTALL_DIR}/bin/VBoxClient"
     152VBOXCLIENT="${INSTALL_DIR}/bin/VBoxControl"
    153153VBOX_VERSION="`"$VBOXCLIENT" --version | cut -d r -f1`"
    154154[ -n "$VBOX_VERSION" ] || VBOX_VERSION='unknown'
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette