Skip to end of metadata
Go to start of metadata

If you've followed the building environment setup procedures in How To Build illumos and its related pages, the following script can help you check if the upstream repositories have any newer changesets and pulls them to your local repo. This script can be run as the build user, as well as another one like root (in that non-root case you may need to enter the building user's password to su into his account).

/code/update-gates.sh

Just save this script into whatever location suits you best, chmod +x and you're ready to go. Modify the paths as your environment needs.

If you use this routinely while working as a different unprivileged user, you might want to set up sudo, password-less SSH keys, or some other method to simplify and automate getting the build user's privileges.

Labels: