Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Info
titleNOTE:

You need to upgrade DilOS. This step is required only once and should be made only in the global zone before preparing the build environment. You need to have 'sudo' permissions for your build user for DEB packages generation process. Please update the /etc/sudoers file with the correct info. Instructions are based on updates and sources tree tag with update from 'dilos-unstable'. Add the repository below to the top of the /etc/apt/sources.list file:

deb http://apt.dilos.org/dilos dilos dilos2-unstable main

and issue the following commands:

sudo apt-get update && sudo dilos-upgrade

You will be upgraded to new BE. Please reboot after successful upgrade.

...

Info
titleINFO

For clone dilos-illumos you have to create account on BitBucket and send it by BitBucket mail form to account 'dilos' - I'll add you to repo


Code Block
$ git clone -b dilos2int2 https://bitbucket.org/dilos/dilos-illumos.git my-dilos-illumos

...

Code Block
languagebash
titleCopy 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.

...