Is it worth adding a short section on "site.conf" to Quick Build page?
I think it would be useful in the Quick Build doc to add a short
(maybe two paragraph) section about using site.conf to cut down on duplication.
Say, just before this section:
a top-level section called:
"How to minimize duplication with a site.conf file"
As that page discusses how the new developer needs to edit local.conf, it would be useful to say something like "If you're going to do multiple builds and find you're making the same changes in your local.conf for each one, consider creating a central site.conf with those common settings, and copy or symlink that file into each new project."
Or something like that. Not only would it speed things up, but it
would also make the new developer clarify what should be common across all of their builds.
Should maybe include a short list of the stuff that is typically
common, maybe ...
- BB_NUMBER_THREADS
- reference to local mirror
- internal proxy settings
Thoughts?
rday
Hi Robert,
Quoted 24 lines · Robert P. J. Day via lists.yoctoproject.org
I think it would be useful in the Quick Build doc to add a short
(maybe two paragraph) section about using site.conf to cut down on duplication.Say, just before this section:
a top-level section called:
"How to minimize duplication with a site.conf file"
As that page discusses how the new developer needs to edit local.conf, it would be useful to say something like "If you're going to do multiple builds and find you're making the same changes in your local.conf for each one, consider creating a central site.conf with those common settings, and copy or symlink that file into each new project."
Or something like that. Not only would it speed things up, but it
would also make the new developer clarify what should be common across all of their builds.
Quoted 9 lines
Should maybe include a short list of the stuff that is typically
common, maybe ...-
BB_NUMBER_THREADS
- reference to local mirror
- internal proxy settingsThoughts?
Easier to review and discuss patches, so just go for it!
I've never used a site.conf file so I'm probably missing out on something and will learn something new with this :)
Cheers,
Quentin