VirtualBox

Changeset 59978 in vbox for trunk


Ignore:
Timestamp:
Mar 10, 2016 10:16:03 AM (9 years ago)
Author:
vboxsync
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.

Location:
trunk/src/VBox/Additions/linux
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/Makefile.module.kms

    r59597 r59978  
    2424MOD_NAME   = vboxvideo
    2525
     26ifeq ($(filter 1.% 2.% 3.0.% 3.1.% 3.2.% 3.3.% 3.4.% 3.5.% 3.6.% 3.7.% \
     273.8.% 3.9.% 3.10.%,$(KERNELRELEASE)),)
    2628MOD_OBJS   = HGSMIBase.o HGSMICommon.o HGSMIMemAlloc.o heapoffset.o \
    2729             Modesetting.o vbox_drv.o vbox_fb.o vbox_irq.o vbox_main.o \
    2830             vbox_mode.o vbox_ttm.o VBVABase.o
     31else
     32MOD_OBJS   = vbox_dummy.o
     33endif
    2934
    3035ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxvideo),)
  • trunk/src/VBox/Additions/linux/drm/files_vboxvideo_drv

    r59597 r59978  
    6060    ${PATH_ROOT}/src/VBox/Additions/linux/drm/vbox_drv.c=>vbox_drv.c \
    6161    ${PATH_ROOT}/src/VBox/Additions/linux/drm/vbox_drv.h=>vbox_drv.h \
     62    ${PATH_ROOT}/src/VBox/Additions/linux/drm/vbox_dummy.c=>vbox_dummy.c \
    6263    ${PATH_ROOT}/src/VBox/Additions/linux/drm/vbox_fb.c=>vbox_fb.c \
    6364    ${PATH_ROOT}/src/VBox/Additions/linux/drm/vbox_irq.c=>vbox_irq.c \
  • 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.

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