Changes between Version 84 and Version 85 of Linux build instructions
- Timestamp:
- Jan 28, 2016 8:19:16 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Linux build instructions
v84 v85 130 130 In case you have more than one CPU core, kmk will automatically do a parallel build. 131 131 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). 142 133 143 134 == Building !VirtualBox packages for distribution == … … 167 158 == Running your build == 168 159 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.160 You 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. 170 161 171 162 So, issue the following: … … 178 169 Then 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}}}. 179 170 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; do183 chown root.root $f184 chmod 4511 $f185 done186 }}}187 188 171 Finally, you can start one of the frontends, e.g. 189 172 {{{