Changeset 81763 in vbox for trunk/src/VBox/Installer/linux
- Timestamp:
- Nov 11, 2019 3:57:41 PM (5 years ago)
- Location:
- trunk/src/VBox/Installer/linux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/Makefile.kmk
r81386 r81763 417 417 include $(PATH_ROOT)/src/VBox/HostDrivers/VBoxNetAdp/linux/files_vboxnetadp 418 418 VBOX_LNX_INST_FILES_VBOXNETADP=$(patsubst =>%,$(PATH_STAGE_BIN)/src/vboxnetadp/%,$(filter =>%,$(subst =>, =>,$(subst $(DQUOTE),,$(VBOX_VBOXNETADP_SOURCES))))) 419 include $(PATH_ROOT)/src/VBox/HostDrivers/VBoxPci/linux/files_vboxpci 420 VBOX_LNX_INST_FILES_VBOXPCI=$(patsubst =>%,$(PATH_STAGE_BIN)/src/vboxpci/%,$(filter =>%,$(subst =>, =>,$(subst $(DQUOTE),,$(VBOX_VBOXPCI_SOURCES))))) 419 420 ifdef VBOX_WITH_PCI_PASSTHROUGH 421 include $(PATH_ROOT)/src/VBox/HostDrivers/VBoxPci/linux/files_vboxpci 422 VBOX_LNX_INST_FILES_VBOXPCI=$(patsubst =>%,$(PATH_STAGE_BIN)/src/vboxpci/%,$(filter =>%,$(subst =>, =>,$(subst $(DQUOTE),,$(VBOX_VBOXPCI_SOURCES))))) 423 endif 421 424 422 425 VBOX_LNX_INST_ARCH_DEPS := \ … … 427 430 $(VBOX_LNX_INST_FILES_VBOXNETFLT) \ 428 431 $(VBOX_LNX_INST_FILES_VBOXNETADP) \ 429 $( VBOX_LNX_INST_FILES_VBOXPCI)432 $(if $(VBOX_WITH_PCI_PASSTHROUGH),$(VBOX_LNX_INST_FILES_VBOXPCI),) 430 433 431 434 # -
trunk/src/VBox/Installer/linux/vboxdrv.sh
r79881 r81763 88 88 89 89 KERN_VER=`uname -r` 90 MODULE_LIST="vboxdrv vboxnetflt vboxnetadp vboxpci" 90 if test -e "${MODULE_SRC}/vboxpci"; then 91 MODULE_LIST="vboxdrv vboxnetflt vboxnetadp vboxpci" 92 else 93 MODULE_LIST="vboxdrv vboxnetflt vboxnetadp" 94 fi 91 95 # Secure boot state. 92 96 case "`mokutil --sb-state 2>/dev/null`" in … … 325 329 failure "modprobe vboxnetadp failed. Please use 'dmesg' to find out why" 326 330 fi 327 if ! $MODPROBE vboxpci > /dev/null 2>&1; then331 if test -e "${MODULE_SRC}/vboxpci" && ! $MODPROBE vboxpci > /dev/null 2>&1; then 328 332 failure "modprobe vboxpci failed. Please use 'dmesg' to find out why" 329 333 fi … … 477 481 failure "Look at $LOG to find out what went wrong" 478 482 fi 479 log "Building the PCI pass-through module." 480 if ! myerr=`$BUILDINTMP \ 481 --use-module-symvers /tmp/vboxdrv-Module.symvers \ 482 --module-source "$MODULE_SRC/vboxpci" \ 483 --no-print-directory install 2>&1`; then 484 log "Error building the module:" 485 module_build_log "$myerr" 486 failure "Look at $LOG to find out what went wrong" 483 if test -e "$MODULE_SRC/vboxpci"; then 484 log "Building the PCI pass-through module." 485 if ! myerr=`$BUILDINTMP \ 486 --use-module-symvers /tmp/vboxdrv-Module.symvers \ 487 --module-source "$MODULE_SRC/vboxpci" \ 488 --no-print-directory install 2>&1`; then 489 log "Error building the module:" 490 module_build_log "$myerr" 491 failure "Look at $LOG to find out what went wrong" 492 fi 487 493 fi 488 494 rm -f /etc/vbox/module_not_compiled
Note:
See TracChangeset
for help on using the changeset viewer.