VirtualBox

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


Ignore:
Timestamp:
Sep 30, 2015 2:48:47 PM (9 years ago)
Author:
vboxsync
Message:

Installers/linux: drop DKMS support.

Location:
trunk/src/VBox/Additions/linux
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/Makefile

    r44528 r57969  
    1818ifneq ($(KBUILD_EXTMOD),)
    1919
    20 # DKMS
     20# Building from kBuild (make -C <kernel_directory> M=`pwd`).
     21# KBUILD_EXTMOD is set to $(M) in this case.
    2122
    2223obj-m = vboxguest/ vboxsf/ vboxvideo/
  • trunk/src/VBox/Additions/linux/Makefile.kmk

    r56301 r57969  
    156156        vboxvideo_drv.o
    157157
    158 VBOX_ADD_KMOD_FILES = $(addprefix vboxguest-$(VBOX_VERSION_STRING)/, Makefile dkms.conf do_dkms build_in_tmp)
     158VBOX_ADD_KMOD_FILES = $(addprefix vboxguest-$(VBOX_VERSION_STRING)/, Makefile build_in_tmp)
    159159VBOX_ADD_KMOD_DIRS =  $(addprefix vboxguest-$(VBOX_VERSION_STRING)/, vboxguest/ vboxsf/ vboxvideo/)
    160160
     
    366366        $(VBOX_REL_LNX_ADD_INST)deffiles
    367367LnxAdd-scripts_EXEC_SOURCES  = \
    368         $(VBOX_REL_LNX_HOST_DRV)do_dkms \
    369368        $(VBOX_REL_LNX_INST_SRC)routines.sh \
    370369        $(VBOX_REL_LNX_ADD_INST)vboxadd.sh=>vboxadd \
  • trunk/src/VBox/Additions/linux/drm/Makefile.kmk

    r56301 r57969  
    3232        $(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_NOBIN))
    3333vboxvideo_drm-mod_EXEC_SOURCES = \
    34         $(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_BIN)) \
    35         $(PATH_ROOT)/src/VBox/HostDrivers/linux/do_Module.symvers
     34        $(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_BIN))
    3635
    3736
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r57945 r57969  
    277277cleanup_modules()
    278278{
    279     if [ -n "$(which dkms 2>/dev/null)" ]; then
    280         begin "Removing existing VirtualBox DKMS kernel modules"
    281         $DODKMS uninstall $OLDMODULES > $LOG
    282         succ_msg
    283     fi
    284     begin "Removing existing VirtualBox non-DKMS kernel modules"
     279    begin "Removing existing VirtualBox kernel modules"
     280    # We no longer support DKMS, remove any leftovers.
     281    for i in vboxguest vboxadd vboxsf vboxvfs vboxvideo; do
     282        rm -rf "/var/lib/dkms/${i}"*
     283    done
    285284    for i in $OLDMODULES; do
    286285        find /lib/modules -name $i\* | xargs rm 2>/dev/null
     
    295294    cleanup_modules
    296295    begin "Building the VirtualBox Guest Additions kernel modules"
    297 
    298     # Short cut out if a dkms build succeeds
    299     if [ -n "$(which dkms 2>/dev/null)" ] &&
    300        $DODKMS install vboxguest $INSTALL_VER >> $LOG 2>&1; then
    301         succ_msg
    302         return 0
    303     fi
    304296
    305297    test_for_gcc_and_make
     
    424416    MODULE_SRC="$INSTALL_DIR/src/vboxguest-$INSTALL_VER"
    425417    BUILDINTMP="$MODULE_SRC/build_in_tmp"
    426     DODKMS="$MODULE_SRC/do_dkms"
    427418    chcon -t bin_t "$BUILDINTMP" > /dev/null 2>&1
    428     chcon -t bin_t "$DODKMS"     > /dev/null 2>&1
    429419
    430420    setup_modules
     
    447437      test -n "$INSTALL_DIR" -a -n "$INSTALL_VER" ||
    448438        fail "Configuration file $config not complete"
    449       DODKMS="$INSTALL_DIR/src/vboxguest-$INSTALL_VER/do_dkms"
    450     elif test -x ./do_dkms; then  # Executing as part of the installer...
    451       DODKMS=./do_dkms
    452439    else
    453440      fail "Configuration file $config not found"
  • trunk/src/VBox/Additions/linux/sharedfolders/Makefile.kmk

    r56301 r57969  
    2929        $(subst $(DQUOTE),,$(FILES_VBOXSF_NOBIN))
    3030vboxsf-mod_EXEC_SOURCES = \
    31         $(subst $(DQUOTE),,$(FILES_VBOXSF_BIN)) \
    32         $(PATH_ROOT)/src/VBox/HostDrivers/linux/do_Module.symvers
     31        $(subst $(DQUOTE),,$(FILES_VBOXSF_BIN))
    3332
    3433
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