...
Code Block |
---|
language | bash |
---|
title | Copy original illumos.sh: |
---|
|
$ cp usr/src/tools/env/illumos.sh . |
The settings we are going to focus on for now are the following:
- CODEMGR_WS - This should be the root of the directory with the code. If you followed the previous example, it will be
/<your directory>/my-dilos-illumos
. - STAFFER - Change this to the name of the non-privileged user you use on the system.
- VERSION - Set this to
illumos-gate
or whatever version string you want for the build. - CLONE_WS - is the workspace nightly should do a bringover from. You can update it to: export CLONE_WS='https://bitbucket.org/dilos/dilos-illumos-gate'. This variable need for 'webrev' tool.
...
Code Block |
---|
language | bash |
---|
title | Prepare build tools: |
---|
|
$ ln -s usr/src/tools/scripts/bldenv.sh .
$ ksh93 bldenv.sh -d illumos.sh -c "cd usr/src && dmake setup" # -d - if you use DEBUG build. You have to remove it for non-DEBUG build
# on SPARC:
$ sudo rm -rf /opt/onbld && sudo cp -ax usr/src/tools/proto/root_sparc-nd/opt/onbld /opt/
# Or on Intel:
$ sudo rm -rf /opt/onbld && sudo cp -ax usr/src/tools/proto/root_i386-nd/opt/onbld /opt/ |
...