Changeset 39322 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Nov 16, 2011 9:46:33 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd.sh
r38542 r39322 31 31 PATH=$PATH:/bin:/sbin:/usr/sbin 32 32 PACKAGE=VBoxGuestAdditions 33 BUILDVBOXGUEST=`/bin/ls /usr/src/vboxguest*/vboxguest/build_in_tmp 2>/dev/null|cut -d' ' -f1` 34 BUILDVBOXSF=`/bin/ls /usr/src/vboxguest*/vboxsf/build_in_tmp 2>/dev/null|cut -d' ' -f1` 35 BUILDVBOXVIDEO=`/bin/ls /usr/src/vboxguest*/vboxvideo/build_in_tmp 2>/dev/null|cut -d' ' -f1` 36 DODKMS=`/bin/ls /usr/src/vboxguest*/do_dkms 2>/dev/null|cut -d' ' -f1` 33 MODULE_SRC=`/bin/ls /usr/src/vboxguest* 2>/dev/null|cut -d' ' -f1` 34 BUILDINTMP="$MODULE_SRC/build_in_tmp" 35 DODKMS="$MODULE_SRC/do_dkms" 37 36 LOG="/var/log/vboxadd-install.log" 38 37 MODPROBE=/sbin/modprobe … … 383 382 384 383 echo 384 begin "Building the main Guest Additions module" 385 if ! $BUILDINTMP \ 386 --save-module-symvers /tmp/vboxguest-Module.symvers \ 387 --module-source $MODULE_SRC/vboxguest \ 388 --no-print-directory install >> $LOG 2>&1; then 389 show_error "Look at $LOG to find out what went wrong" 390 return 1 391 fi 392 succ_msg 393 begin "Building the shared folder support module" 394 if ! $BUILDINTMP \ 395 --use-module-symvers /tmp/vboxguest-Module.symvers \ 396 --module-source $MODULE_SRC/vboxsf \ 397 --no-print-directory install >> $LOG 2>&1; then 398 show_error "Look at $LOG to find out what went wrong" 399 return 1 400 fi 401 succ_msg 385 402 if expr `uname -r` '<' '2.6.27' > /dev/null; then 386 403 echo "Not building the VirtualBox advanced graphics driver as this Linux version is" 387 404 echo "too old to use it." 388 BUILDVBOXVIDEO= 389 fi 390 if [ -n "$BUILDVBOXGUEST" ]; then 391 begin "Building the main Guest Additions module" 392 if ! $BUILDVBOXGUEST \ 393 --save-module-symvers /tmp/vboxguest-Module.symvers \ 394 --no-print-directory install >> $LOG 2>&1; then 395 show_error "Look at $LOG to find out what went wrong" 396 return 1 397 fi 398 succ_msg 399 fi 400 if [ -n "$BUILDVBOXSF" ]; then 401 begin "Building the shared folder support module" 402 if ! $BUILDVBOXSF \ 405 else 406 begin "Building the OpenGL support module" 407 if ! $BUILDINTMP \ 403 408 --use-module-symvers /tmp/vboxguest-Module.symvers \ 404 --no-print-directory install >> $LOG 2>&1; then 405 show_error "Look at $LOG to find out what went wrong" 406 return 1 407 fi 408 succ_msg 409 fi 410 if [ -n "$BUILDVBOXVIDEO" ]; then 411 begin "Building the OpenGL support module" 412 if ! $BUILDVBOXVIDEO \ 413 --use-module-symvers /tmp/vboxguest-Module.symvers \ 409 --module-source $MODULE_SRC/vboxvideo \ 414 410 --no-print-directory install >> $LOG 2>&1; then 415 411 show_error "Look at $LOG to find out what went wrong"
Note:
See TracChangeset
for help on using the changeset viewer.