VirtualBox

Changeset 72817 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Jul 3, 2018 10:00:24 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123361
Message:

Installer/Linux: sync the filesystem after running depmod. Hopefully works around the issue with zero length modules.dep files when a R0 bug in VirtualBox leads to lock-up when trying to run a VM (which happens very quickly in automated testing) straight after install.

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

Legend:

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

    r70702 r72817  
    7171        @mkdir -p $(MODULE_DIR); \
    7272        install -m 0644 -o root -g root $(MODULE).$(MODULE_EXT) $(MODULE_DIR); \
    73         PATH="$(PATH):/bin:/sbin" depmod -a;
     73        PATH="$(PATH):/bin:/sbin" depmod -a; sync
    7474
    7575clean:
  • trunk/src/VBox/Installer/linux/vboxdrv.sh

    r72682 r72817  
    410410            version=`expr "${i}" : "/lib/modules/\(.*\)"`
    411411            depmod -a "${version}"
     412            sync
    412413        fi
    413414        # Remove the kernel version folder if it was empty except for us.
     
    461462    rm -f /etc/vbox/module_not_compiled
    462463    depmod -a
     464    sync
    463465    succ_msg "VirtualBox kernel modules built"
    464466}
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