VirtualBox

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


Ignore:
Timestamp:
Jan 8, 2010 9:51:15 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56408
Message:

Linux host/guest kernel modules: respect unsupported modules on some SUSE distributions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r25139 r25687  
    3939BUILDVBOXVIDEO=`/bin/ls /usr/src/vboxvideo*/build_in_tmp 2>/dev/null|cut -d' ' -f1`
    4040LOG="/var/log/vboxadd-install.log"
     41MODPROBE=/sbin/modprobe
     42
     43if $MODPROBE -c | grep -q '^allow_unsupported_modules  *0'; then
     44  MODPROBE="$MODPROBE --allow-unsupported-modules"
     45fi
    4146
    4247# Check architecture
     
    205210        }
    206211
    207         modprobe vboxguest >/dev/null 2>&1 || {
     212        $MODPROBE vboxguest >/dev/null 2>&1 || {
    208213            fail "modprobe vboxguest failed"
    209214        }
     
    257262    if [ -n "$BUILDVBOXVFS" ]; then
    258263        running_vboxvfs || {
    259             modprobe vboxvfs > /dev/null 2>&1 || {
     264            $MODPROBE vboxvfs > /dev/null 2>&1 || {
    260265                if dmesg | grep "vboxConnect failed" > /dev/null 2>&1; then
    261266                    fail_msg
Note: See TracChangeset for help on using the changeset viewer.

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