Setting up illumos.sh section path
The path referred in the creation of illumos.sh, i.e. /opt/onbld/env/illumos does not exist in SmartOS.
I really don’t know where to get this file.
SmartOS has a slightly different build environment. Instead, you should start by following the instructions here: https://wiki.smartos.org/display/DOC/Building+SmartOS+on+SmartOS. I generally use the workflow of running gmake world, and then go back in using bldenv to modify and go from there. You'd use it as follows:
$ cd projects/illumos/usr/src
$ ./tools/proto/root_i386-nd/opt/onbld/bin/bldenv ../../illumos.sh
Note, that on SmartOS, instead of running nightly manually, remove the file 0-illumos-stamp in the root of the smartos-live project and run gmake world. Let me know if this clarifies things.
Sorry for the delay but, you know, life, work and christmas…
Let me recap:
- Follow the instruction on the SmartOS wiki until
make world - Generate
illumos.shas you described above (and basically skip the whole “Setting up illumos.sh” section in http://illumos.org/books/dev/workflow.html) - Instead of
/opt/onbld/bin/nightly ./illumos.shuserm 0-illumos-stamp && gmake world
Correct? If so, do you think would it be a good idea to amend the guide to include SmartOS-specific instructions as some kind of footnote?