Table of Contents |
---|
...
Code Block | ||
---|---|---|
| ||
$ 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.ON_CLOSED_BINS - tools folder. You should set it to the folder name, where your tar files have been unpacked to on the previous step. Here it would be
export ON_CLOSED_BINS="/<your directory>/my-dilos-illumos/closed"
.
...
Code Block | ||
---|---|---|
| ||
$ sudo os-upgrade ... upgrade done Updating bootarchive ... Activating 'dilos_<version>' ... Now you can reboot to new 'dilos_<version>'. |
Update Using onu-deb ( unsupported, but can be updated by others and contributed )
Note that in this case the developer-build-onbld-deb packet should be installed on system:
Code Block | ||
---|---|---|
| ||
$ sudo apt-get install developer-build-onbld-deb # if you want to use onu-deb |
Install new DEB packages to newBE by using onu-deb:
Code Block | ||
---|---|---|
| ||
$ /opt/onbld/bin/onu-deb -t nightly-`date +%Y-%m-%d` -d $PWD/packages/i386/apt |
...