Changes between Version 64 and Version 65 of Mac OS X build instructions
- Timestamp:
- Aug 31, 2011 2:36:06 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Mac OS X build instructions
v64 v65 79 79 3. Run {{{./VirtualBox}}} 80 80 81 == Building and using hardening builds==81 == Building OSE packages for distribution == 82 82 83 For any distribution builds hardening should be enabled for security reasons. Hardening needs some additional configuration and post-build steps. The default install directory of !VirtualBox is `/Applications/VirtualBox.app/`. If you like to change that, say into `/Applications/OpenSource/VirtualBox.app/`, you need to add the following to the `LocalConfig.kmk`: 83 Never disable hardening (see previous section) when creating packages for redistribution. 84 85 Hardening needs some additional configuration and post-build steps. The default install directory of !VirtualBox is `/Applications/VirtualBox.app/`. If you like to change that, say into `/Applications/OpenSource/VirtualBox.app/`, you need to add the following to the `LocalConfig.kmk`: 84 86 {{{ 85 87 VBOX_PATH_APP_PRIVATE = "/Applications/OpenSource/VirtualBox.app/Contents/MacOS" … … 87 89 VBOX_PATH_SHARED_LIBS = "/Applications/OpenSource/VirtualBox.app/Contents/MacOS" 88 90 VBOX_PATH_APP_DOCS = "/Applications/OpenSource/VirtualBox.app/Contents/MacOS" 91 }}} 92 It may also make sense to disable some of the development only stuff, like test cases. Add the following to `LocalConfig.kmk`: 93 {{{ 94 VBOX_WITH_TESTSUITE= 95 VBOX_WITH_TESTCASES= 89 96 }}} 90 97 Next rebuild !VirtualBox and install it into `/Applications/OpenSource/`. Now make sure that the setuid stubs have the correct permissions: