VirtualBox

Ignore:
Timestamp:
Mar 10, 2016 10:16:03 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
105943
Message:

bugref:8087: Additions/x11: support non-root X server: simplify handling of kernels too old to build vboxvideo by building a dummy module instead. This saves us some installer logic.

File:
1 edited

Legend:

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

    r59963 r59978  
    315315    fi
    316316    succ_msg
    317     if expr `uname -r` '<' '3.11' > /dev/null; then
    318         echo "Not building the VirtualBox kernel graphics driver as this Linux version is"
    319         echo "too old to use it."
    320     else
    321         begin "Building the graphics driver module"
    322         if ! $BUILDINTMP \
    323             --use-module-symvers /tmp/vboxguest-Module.symvers \
    324             --module-source $MODULE_SRC/vboxvideo \
    325             --no-print-directory install >> $LOG 2>&1; then
    326             show_error "Building the graphics driver module failed.  Look at $LOG to find out what went wrong.  All other modules were built successfully."
    327         else
    328             succ_msg
    329         fi
    330     fi
     317    begin "Building the graphics driver module"
     318    if ! $BUILDINTMP \
     319        --use-module-symvers /tmp/vboxguest-Module.symvers \
     320        --module-source $MODULE_SRC/vboxvideo \
     321        --no-print-directory install >> $LOG 2>&1; then
     322        show_error "Look at $LOG to find out what went wrong"
     323    fi
     324    succ_msg
    331325    depmod
    332326    return 0
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