(optional) Make a symlink to the dedicated package repository
If you used a separate ZFS dataset for packages, as detailed abovein 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 (otherwise . 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:
| Code Block |
|---|
sudo ln -s ../../packages /export/home/illumos-dev/code/illumos-gate |
...
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:
...