Skip to end of metadata
Go to start of metadata

(optional) Make a symlink to the dedicated package repository

If you used a separate ZFS dataset for packages, as detailed in Build datasets and checked out the workspace with one of the methods in How To Build illumos, now is the time to symlink to it. If you don't, a directory named packages will be created under the workspace directory in due course during the build, within the build dataset; if that happens – you may just move the files into the dedicated dataset after the successful build and make the symlink then:

Golden repository – one of many

If you want to Work on several bugs at once, you may want to maintain a "golden image" of the source code repository in a dedicated dataset and zfs clone that for your actual works. In this case you'd run:

Now you'll have to modify the clone's pointer to parent repository (so it's local, not Internet as was true for the golden image). Edit the clone's /code/illumos-gate/.hg/hgrc file and replace the default path with the local pathname to the local master repository, like this:

For those people who understand pictures better, here is an illustration of illumos-gate development with multiple repositories and hints to the contribution process: