Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up illumos.sh section path #7

Open
giorgio-v opened this issue Dec 21, 2014 · 2 comments
Open

Setting up illumos.sh section path #7

giorgio-v opened this issue Dec 21, 2014 · 2 comments

Comments

@giorgio-v
Copy link

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.

@rmustacc
Copy link
Contributor

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.

@giorgio-v
Copy link
Author

Sorry for the delay but, you know, life, work and christmas…

Let me recap:

  1. Follow the instruction on the SmartOS wiki until make world
  2. Generate illumos.sh as you described above (and basically skip the whole “Setting up illumos.sh” section in http://illumos.org/books/dev/workflow.html)
  3. Instead of /opt/onbld/bin/nightly ./illumos.sh use rm 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants