VirtualBox

Ignore:
Timestamp:
Oct 15, 2015 1:53:07 PM (9 years ago)
Author:
vboxsync
Message:

Installer/linux (host): do not forget depmod, but get it right.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/vboxdrv.sh

    r58260 r58261  
    397397                 = "${i}/misc/* ${i}/misc/.. ${i}/misc ${i}/.." &&
    398398                rmdir "${i}/misc" "${i}"  # We used to leave empty folders.
    399             depmod -a -b "${i}"
     399            version=`expr "${i}" : "/lib/modules/\(.*\)"`
     400            depmod -a "${version}"
    400401        fi
    401402    done
     
    483484    ;;
    484485setup)
    485     stop && setup
     486    stop && setup && start
    486487    ;;
    487488cleanup)
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