VirtualBox

Changeset 89160 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
May 19, 2021 12:46:33 PM (4 years ago)
Author:
vboxsync
Message:

Installer: Linux: Temporary add diagnostic logging to vboxdrv.sh (3) (to be reverted).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/vboxdrv.sh

    r89158 r89160  
    157157}
    158158
    159 # Detect VirtualBox version info or report error on error.
     159# Detect VirtualBox version info or report error.
    160160VBOX_VERSION="$($VBOXMANAGE -v 2>/dev/null | cut -d r -f1)"
    161161VBOX_REVISION="r$($VBOXMANAGE -v 2>/dev/null | cut -d r -f2)"
    162 echo diagnostics: cut:  $(which cut) $([ -x $(which cut) ] && echo 1)
    163 echo diagnostics: VBOXMANAGE:  $VBOXMANAGE $([ -x "$VBOXMANAGE" ] && echo 1)
    164 echo diagnostics: VBOX_VERSION = .$VBOX_VERSION.
    165 echo diagnostics: VBOX_REVISION = .$VBOX_REVISION.
    166 if test -z "$VBOX_VERSION" -o "$VBOX_REVISION" = "r"; then
    167     failure 'Cannot detect VirtualBox version'
    168 fi
     162fail_msg "diagnostics: cut:  $(which cut) $([ -x $(which cut) ] && echo 1)"
     163fail_msg "diagnostics: VBOXMANAGE:  $VBOXMANAGE $([ -x $VBOXMANAGE ] && echo 1)"
     164fail_msg "diagnostics: VBOX_VERSION = .$VBOX_VERSION."
     165fail_msg "diagnostics: VBOX_REVISION = .$VBOX_REVISION."
     166[ -n "${VBOX_VERSION}" ] || failure 'Cannot detect VirtualBox version number'
     167[ "${VBOX_REVISION}" != "r" ] || failure 'Cannot detect VirtualBox revision number'
    169168
    170169## Output the vboxdrv part of our udev rule.  This is redirected to the right file.
Note: See TracChangeset for help on using the changeset viewer.

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