VirtualBox

Changeset 14436 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Nov 20, 2008 9:06:10 PM (16 years ago)
Author:
vboxsync
Message:

deb/rpm: fixed vboxnetflt module compilation

Location:
trunk/src/VBox/Installer/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/Makefile.kmk

    r14256 r14436  
    252252        $(QUIET)$(SED_EXT) \
    253253                -e "s|%NOLSB%|yes|g" \
    254                 -e "s|%NETFLT%|$(VBOX_WITH_NETFLT)|g" \
    255254                -e "s|%PACKAGE%|virtualbox|g" \
    256255                --output $@ \
  • trunk/src/VBox/Installer/linux/vboxdrv.sh.in

    r14256 r14436  
    3232LOG="/var/log/vbox-install.log"
    3333NOLSB=%NOLSB%
    34 NETFLT=%NETFLT%
    3534
    3635[ -f /lib/lsb/init-functions ] || NOLSB=yes
     
    183182        failure "Cannot change owner $GROUPNAME for device $DEVICE"
    184183    fi
    185     if [ -n "$NETFLT" ]; then
    186         if ! modprobe vboxnetflt > /dev/null 2>&1; then
    187             failure "modprobe vboxnetflt failed. Please use 'dmesg' to find out why"
    188         fi
     184    if ! modprobe vboxnetflt > /dev/null 2>&1; then
     185        failure "modprobe vboxnetflt failed. Please use 'dmesg' to find out why"
    189186    fi
    190187    succ_msg
     
    276273        failure "Look at $LOG to find out what went wrong"
    277274    fi
    278     if [ -n "$NETFLT" ]; then
    279         if ! $BUILDVBOXNETFLT \
    280             --use-module-symvers /tmp/vboxdrv-Module.symvers \
    281             --no-print-directory install >> $LOG 2>&1; then
    282             failure "Look at $LOG to find out what went wrong"
    283         fi
     275    if ! $BUILDVBOXNETFLT \
     276        --use-module-symvers /tmp/vboxdrv-Module.symvers \
     277        --no-print-directory install >> $LOG 2>&1; then
     278        failure "Look at $LOG to find out what went wrong"
    284279    fi
    285280    succ_msg
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