VirtualBox

Changes between Version 84 and Version 85 of Linux build instructions


Ignore:
Timestamp:
Jan 28, 2016 8:19:16 AM (8 years ago)
Author:
Frank Mehnert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Linux build instructions

    v84 v85  
    130130 In case you have more than one CPU core, kmk will automatically do a parallel build.
    131131
    132  4. If you made a ''hardened'' build (that is, you omitted the ''--disable-hardened'' switch from configure) you have to set some symbolic links manually to be able to start VMs from the bin/ directory:
    133 {{{
    134 cd out/linux.x86/release/bin/components
    135 ln -s ../VBoxDDU.so .
    136 ln -s ../VBoxREM.so .
    137 ln -s ../VBoxRT.so .
    138 ln -s ../VBoxVMM.so .
    139 ln -s ../VBoxXPCOM.so .
    140 }}}
    141 
     132 4. Running a hardened build from tue bin/ directory will not work because all hardened binaries do explicit link against libraries from /opt/VirtualBox (fixed path).
    142133
    143134== Building !VirtualBox packages for distribution ==
     
    167158== Running your build ==
    168159
    169 You can run !VirtualBox directly from the build target directory (`out/linux.x86/release/bin/`). But first of all, you must build and install the !VirtualBox kernel module, whose sources will have been copied to the build target directory.
     160You can run !VirtualBox directly from the build target directory (`out/linux.x86/release/bin/`) if the build was not hardened. But first of all, you must build and install the !VirtualBox kernel module, whose sources will have been copied to the build target directory.
    170161
    171162So, issue the following:
     
    178169Then it should have been installed to your modules directory and you can load it using {{{modprobe vboxdrv}}}. Make sure you give yourself read and write access to {{{/dev/vboxdrv}}}.
    179170
    180 If you made a ''hardened build'', make sure that the setuid stubs have the correct permissions:
    181 {{{
    182 for f in VirtualBox VBoxHeadless VBoxSDL VBoxBFE VBoxNetDHCP VBoxNetAdpCtl; do
    183   chown root.root $f
    184   chmod 4511 $f
    185 done
    186 }}}
    187 
    188171Finally, you can start one of the frontends, e.g.
    189172{{{

© 2023 Oracle
ContactPrivacy policyTerms of Use